Is anyone using compose on android with kotlin 1.6...
# compose
s
Is anyone using compose on android with kotlin 1.6.0-RC and not running into this error?
Copy code
java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions.setUseIR(boolean)'
👀 1
y
b
It is and that setting does not need to be set explicitly to produce the error
Had same thing myself without ever using that setting in my project
👍🏻 1
s
yep, I'm not even setting it in my project 😄
t
AGP is calling that when you enable Compose. You can work around it by setting up Compose yourself (with the
kotlinCompilerPlugins
configuration) or wait for AGP to support Kotlin 1.6.
s
@tad ooh, would you mind sharing some code for that?