With strong skipping no longer being experimental ...
# compose
s
With strong skipping no longer being experimental in compiler version 1.5.13, what's the correct way of enabling it if one is still using a pre-2.0.0 version of Kotlin? AFAIK, the
composeCompiler {}
that the docs mention is introduced alongside the new Kotlin 2.0.0+ Compose compiler. I see Now in Android still uses the `experimentalStrongSkipping=true` flag. Is this still what we should use?
s
I think this is the correct way with Compose Compiler < 2.0
Copy code
tasks.withType<KotlinCompile> {
    compilerOptions.freeCompilerArgs.addAll(
        "-P",
        "plugin:androidx.compose.compiler.plugins.kotlin:strongSkipping=true",
    )
}
s
Oh, right, it's just renamed from
experimentalStrongSkipping
to
strongSkipping
, then. That makes sense. Thanks!
✌🏼 1
230 Views