Has anyone tried compiling compose content with ko...
# compose
m
Has anyone tried compiling compose content with kotlin 1.5.10, and then using that in a project as an external dependency (aar) which uses kotlin 1.5.20? I’m wondering if it’s just the compiler that needs 1.5.10 or will the runtime engine have issues?
a
just the compiler needs 1.5.10
🙏 1
K 1
m
Thanks @Adam Powell this is good to know. Most of our real content is done in independent libraries that we bring into the main application. So many teams working on features, so we break those features out to their own libraries.
@Adam Powell A side question That i have also relates to build things. If we have self contained compose fragments/activities in a library, do we need to have the application itself build with gradle plugin 7? The reason i ask is that spoon is broken on gradle 7, with no likely path to actually working anytime soon. We’re looking into replacements, but the most promising one we found still has several issues that are non starters for us.
So i’m trying to determine if we can do compose in a library and then bring it into a project that’s built with a non compose compatible android gradle plugin.
a
you would have to ask in the main channel, I'm not sure what the full range of the agp dependencies are. I am fairly certain that you won't get the ART profile optimizations out of the box if you aren't building the app with the latest agp at a minimum though