molecule icon indicating copy to clipboard operation
molecule copied to clipboard

Kotlin 1.7.20-compatible release

Open JakeWharton opened this issue 3 years ago • 4 comments

Tracking issue.

Blocked by https://github.com/JetBrains/compose-jb/issues/2349

JakeWharton avatar Sep 29 '22 15:09 JakeWharton

Would it be feasible to get a 0.4.1 release that doesn't use JetBrains Compose? We're seriously considering using Molecule for our Android project and just updated to Kotlin 1.7.20. 🙂

mhernand40 avatar Oct 12 '22 23:10 mhernand40

The JS target is the problem and the last version which did not support JS was 0.2.0 so doing any kind of stable release would entail dropping platform support.

If there is not a .21 within two weeks or so I may consider releasing an 0.6.0 build with a qualifier like "nojs", but I would prefer the pressure remain on JetBrains to correct this problem.

JakeWharton avatar Oct 13 '22 18:10 JakeWharton

You are free, however, to depend only on the Molecule runtime and add the Android Compose compiler which supports Kotlin 1.7.20. Simply do not use our Gradle plugin and that configuration should work fine.

JakeWharton avatar Oct 13 '22 18:10 JakeWharton

You are free, however, to depend only on the Molecule runtime and add the Android Compose compiler which supports Kotlin 1.7.20. Simply do not use our Gradle plugin and that configuration should work fine.

Sweet! That actually works for me. Thank you.

mhernand40 avatar Oct 13 '22 21:10 mhernand40