fix(build): align Kotlin/KSP/Compose and force stdlib resolution
- Use Kotlin 2.2.0, KSP 2.2.0-2.0.2, Compose Multiplatform 1.8.2 to match transitive dependencies compiled with Kotlin metadata 2.3.0. - Add root resolutionStrategy force for kotlin-stdlib 2.1.20/2.1.20 variants to keep runtime consistent while compiler reads 2.3.0 metadata. - Baseline ':app:assembleOssDebug' now passes, APK ~80 MB.
This commit is contained in:
parent
73f16be140
commit
83e4b420d4
2 changed files with 14 additions and 3 deletions
|
|
@ -14,6 +14,17 @@ val test by tasks.registering {
|
|||
description = "Runs available unit tests for the included projects."
|
||||
}
|
||||
|
||||
allprojects {
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force("org.jetbrains.kotlin:kotlin-stdlib:2.1.20")
|
||||
force("org.jetbrains.kotlin:kotlin-stdlib-common:2.1.20")
|
||||
force("org.jetbrains.kotlin:kotlin-stdlib-jdk7:2.1.20")
|
||||
force("org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.20")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
val rootTest = rootProject.tasks.named("test")
|
||||
tasks.matching {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue