Fladder/android/build.gradle
2024-10-11 18:33:27 +02:00

33 lines
709 B
Groovy

allprojects {
repositories {
google()
mavenCentral()
}
}
rootProject.buildDir = '../build'
//[Fixes AAPT: error: resource android:attr/lStar not found]
subprojects {
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.application") ||
project.plugins.hasPlugin("com.android.library")) {
project.android {
compileSdkVersion 34
buildToolsVersion "34.0.0"
}
}
}
}
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}