buildscript { ext.kotlin_version = '1.6.21' repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.1.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" } } allprojects { repositories { google() mavenCentral() } project.ext { minSdkVersion = 23 targetSdkVersion = 32 compileSdkVersion = 32 buildToolsVersion = "30.0.3" yubiKitVersion = "2.1.0-alpha.1" junitVersion = "4.13.2" mockitoVersion = "3.9.0" } } rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') } task clean(type: Delete) { delete rootProject.buildDir }