https://kotlinlang.org logo
#compose
Title
# compose
v

Vaibhav Jaiswal

02/28/2024, 2:29 PM
Can i use strong skipping in Compose Multiplatform 1.6.0?
j

Joel Denke

02/28/2024, 2:33 PM
Yes, I think it was released in compose 1.5.4 release. CMP is using compose 1.6.0 🙂
Just add:
Copy code
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>() {
    compilerOptions.freeCompilerArgs.addAll(
        "-P",
        "plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",
    )
}
v

Vaibhav Jaiswal

02/28/2024, 2:37 PM
Thanks
j

Joel Denke

02/28/2024, 2:43 PM
Compiler 1.5.8Runtime 1.6.1UI 1.6.1Foundation 1.6.1Material 1.6.1Material3 1.2.0 This is the versions that CMP 1.6.0 using if I understand correct from release list, see https://github.com/JetBrains/compose-multiplatform/releases for more details 🙂
14 Views