feat: set Android compile options to Java 21 in subprojects
Some checks failed
Build Android APK / build (push) Failing after 6m29s

This commit is contained in:
2026-01-22 08:52:29 +01:00
parent fb0066767d
commit fbf23d5b84

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) { task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir
} }