Fix retarded gradle to force SDK level 34

This commit is contained in:
franzap
2024-12-07 19:53:41 -03:00
parent d0e406b1ca
commit f8eb3b1508
+20
View File
@@ -5,6 +5,19 @@ allprojects {
}
}
subprojects {
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.application") ||
project.plugins.hasPlugin("com.android.library")) {
project.android {
compileSdkVersion 34
buildToolsVersion "34.0.0"
}
}
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
@@ -16,3 +29,10 @@ subprojects {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
ext {
compileSdkVersion = 34
targetSdkVersion = 34
appCompatVersion = "1.7.0"
}