fix marker rendering & modernize riding widgets for dark mode - 2026-04-11
This commit is contained in:
@@ -20,8 +20,8 @@ android {
|
||||
ndkVersion "29.0.14033849"
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
coreLibraryDesugaringEnabled true
|
||||
}
|
||||
externalNativeBuild {
|
||||
@@ -33,7 +33,7 @@ android {
|
||||
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_1_8
|
||||
jvmTarget = "17"
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
|
||||
@@ -31,6 +31,30 @@ subprojects {
|
||||
}
|
||||
subprojects {
|
||||
project.evaluationDependsOn(':app')
|
||||
|
||||
// Sync Kotlin JVM Target for ALL subprojects (works at task-config time)
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Force Java 17 on plugin subprojects AFTER they set their own defaults.
|
||||
// Skip :app because it's already evaluated (via evaluationDependsOn) and already configured.
|
||||
subprojects { sub ->
|
||||
if (sub.name != 'app') {
|
||||
sub.afterEvaluate {
|
||||
if (sub.hasProperty('android')) {
|
||||
sub.android {
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("clean", Delete) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user