Closed frett closed 1 day ago
Hey @frett, thanks for reporting. Will look into this during the day
Hi @frett, sorry for the delay, got busy and forgot about this. I've published a snapshot (0.9-SNAPSHOT
) with support for 2.0 now though, could you try and see if it works for you? Make sure you add the snapshots repo
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
thanks for working on the issue, I'll try and take a look at the SNAPSHOT today.
everything compiles and tests pass with 0.9-SNAPSHOT
Thanks for verifying, I've published 0.9 now, it should be synced to mavenCentral in a couple of hours or so.
When upgrading our project to Kotlin 2.0 we are running into several errors related to this plugin.
The first error we run into is:
This looks to be caused by the plugin using the old Android compose compiler plugin. With Kotlin 2.0 the standalone android plugin was replaced with a plugin that gets bundled with the Kotlin release directly. See: https://android-developers.googleblog.com/2024/04/jetpack-compose-compiler-moving-to-kotlin-repository.html
I was able to bypass this error by using a gradle resolutionStrategy to replace the android compose compiler with the new kotlin compose compiler.
This revealed the next error related to upgrading to Kotlin 2.0: