So in my case, I have a UI kit with a bunch of android icons being added in a different gradle module, that is then being included in the app module, those resources aren't merged like how all resources get merged in android
I can screenshot that in a little bit for you 🙂
so say I have these resources in the target here
And my project structure is set up like this. RAUL is our ui lib, which the ui iconset then references the ui mobile target, which then references the app mobile target, where the shared framework is made
How would I then ensure that resources get merged into the iOS app bundle at build time?
For larger projects where maybe there is a corporate design system in place, this might need support
a
alex009
04/26/2023, 7:01 AM
you can use moko-resources for this case
a
andrew
04/26/2023, 5:36 PM
Ah, I'll have to try this today 🙂
Attempted to use Moko Resources today, I’m not sure it’s compatible with gradle version 7.6, getting build configuration cache issues when it’s added into the mix.
Looks like there are issues in YouTrack dating at least 2 years ago 😮
Or even almost 3
a
alex009
04/29/2023, 9:44 AM
moko-resources not support configuration cache yet
a
andrew
04/29/2023, 9:13 PM
Ah, unfortunately, the benefits of using configuration cache for me makes me want to keep it 😆