Hi, i've been updating from kotlin 1.9.21 to 2.1.0...
# gradle
c
Hi, i've been updating from kotlin 1.9.21 to 2.1.0 - but faced https://kotlinlang.slack.com/archives/C3PQML5NU/p1734682764859439 so i tried using
2.0.21
-> migrated the compose compiler to the AGP. now getting:
Unsupported plugin option: androidx.compose.compiler.plugins.kotlin:traceMarkersEnabled=true
i do not specify this option in any of my code. so seems a (transitive) dependency is using that - but how would i discover that?
t
There is no straightforward way. Possible approach could be trying to disable one-by-one dependencies that may configure it.
c
thanks for your answer - that's gonna be a pain 😬
t
though
traceMarkersEnabled
should be supported by compose plugin 🤔
c
could it be due to the fact that
composeOptions {}
are now at the root-level of the gradle file rather than nested in
android { composeOptions {} }
?
t
yeah, all compose options should be configured now in root
composeOptions {}
DSL
c
so all dependencies need to use the updated DSL, right?
t
right
c
i've found the causing dependency/setup 🥳
for anyone facing that issue - check if you're using
app.cash.molecule
this needs a migration for kotlin 2.0.0 sadly it only surfaced through this error but fixed now