fix(build): baseline configuration and proxy setup

- Downgrade AGP 9.0.0 -> 8.9.2, Kotlin 2.2.10 -> 2.1.20, KSP and Compose Multiplatform to compatible versions.
- Switch Gradle wrapper to 8.13 (8.11.1 download unavailable, 9.5.1 incompatible with AGP 8.9).
- Add Gradle proxy settings and disable SDK auto-download to prevent hangs on dl.google.com.
- Remove generated gradle-daemon-jvm.properties causing JetBrains JDK lookup failure.
- Fix JvmVendorSpec.ANY incompatibility on the new toolchain.
- Temporarily disable externalNativeBuild until NDK 27.0.12077973 is installed.
- Baseline ':app:tasks' now passes.
This commit is contained in:
Atte149 2026-06-24 08:12:32 +03:00
parent 5f64f3d722
commit 73f16be140
6 changed files with 29 additions and 20 deletions

View file

@ -46,7 +46,9 @@ fun configuredAppLocaleTags(): Set<String> {
}
kotlin {
jvmToolchain(21)
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
android {
@ -64,11 +66,13 @@ android {
.map { it.toAndroidResourceConfiguration() }
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
/*
externalNativeBuild {
cmake {
cppFlags += ""
}
}
*/
buildConfigField("boolean", "IS_PRO", "false")
buildConfigField("boolean", "IS_OFFLINE", "false")
}
@ -162,12 +166,14 @@ android {
singleVariant("release") {
}
}
/*
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "3.22.1"
}
}
*/
testOptions {
unitTests.isReturnDefaultValues = true
unitTests.all {