https://kotlinlang.org logo
Title
d

Davide Giuseppe Farella

05/06/2023, 8:20 AM
Hello guys, I recently started using Molecule and, while updating to Kotlin 1.8.20, I noticed that my project was using the Compose Compiler version from Molecule instead of the one locally defined. I noticed this PR from Jake (I left a comment, I hope that is ok) and I did something similar into my project and I wanna take the chance to solve what mentioned above as well. Should I include molecule in the group as well, or can I (should I?) force my project to use the locally defined version of Compose Compiler instead?
j

jw

05/06/2023, 12:06 PM
You should include it in your group, yes. Molecule does not read the Compose compiler version that the Android Gradle plugin uses because it can be used in modules without AGP applied.
d

Davide Giuseppe Farella

05/06/2023, 12:16 PM
Makes sense 👍