Alina Dolgikh [JB]
Norbi
11/17/2021, 10:37 AMgildor
11/18/2021, 10:19 AMrobstoll
11/22/2021, 8:40 PMStarting with Kotlin 1.6.0, you can now develop using three previous API versions instead of two (along with the current stable one). Currently, this includes API versions 1.3, 1.4, 1.5, and 1.6.Nice, this makes the adoption of Kotlin easier for projects where a slow update cycle is preferred over latest-greatest 👍
Emanuel Moecklin
12/14/2021, 11:16 PMsuppressKotlinVersionCompatibilityCheck=true
as well:
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf(
"-Xallow-jvm-ir-dependencies",
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
)
}
}
Without that flag it complained:
This version (1.1.0-beta04) of the Compose Compiler requires Kotlin version 1.6.0 but you appear to be using Kotlin version 1.6.10When I switched to Kotlin 1.6.0 I got:
This version (1.1.0-beta01) of the Compose Compiler requires Kotlin version 1.6.10 but you appear to be using Kotlin version 1.6.0🤦♂️ I assume some other dependency is using 1.1.0-beta01
gildor
12/15/2021, 3:59 AMAlexander Kurasov[JB]
12/15/2021, 9:56 AMEmanuel Moecklin
12/16/2021, 4:41 PM