feat: set Android compile options to Java 21 in subprojects

This commit is contained in:
dasemu committed 2026-01-22 08:52:29 +01:00
1 parent fb0066767d
commit fbf23d5b84
1 file changed
+13
+13
View File
@@ -24,6 +24,19 @@ allprojects {
}
}
subprojects {
afterEvaluate { project ->
if (project.hasProperty("android")) {
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}