Zoltan Demant
05/05/2024, 8:29 AM2.0.0-RC2
without any issues.
When I try to upgrade one of my apps though, it just seems to downgrade to kotlin 1.9.23. Ive checked out the gradlew dependency
output and while its too long to read line by line.. I cant find anything that points to the version being downgraded, just the opposite: 1.9.23 -> 2.0.0-RC2.
I can work around the issue with the code below, but Id much rather figure out the underlying issue. Any ideas?
subprojects {
configurations.all {
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == "org.jetbrains.kotlin") {
details.useVersion("2.0.0-RC2")
}
}
}
}
}
Zoltan Demant
05/05/2024, 8:35 AMkotlinBuildToolsApiClasspath
\--- org.jetbrains.kotlin:kotlin-build-tools-impl:1.9.23
+--- org.jetbrains.kotlin:kotlin-build-tools-api:1.9.23
+--- org.jetbrains.kotlin:kotlin-stdlib:1.9.23
| \--- org.jetbrains:annotations:13.0
+--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.23
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.9.23 (*)
| +--- org.jetbrains.kotlin:kotlin-script-runtime:1.9.23
| +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10
| +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.9.23
| \--- org.jetbrains.intellij.deps:trove4j:1.0.20200330
\--- org.jetbrains.kotlin:kotlin-compiler-runner:1.9.23
+--- org.jetbrains.kotlin:kotlin-build-common:1.9.23
+--- org.jetbrains.kotlin:kotlin-daemon-client:1.9.23
+--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.5.0
\--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.23 (*)