Its a code snippet from XYZ module’s(basically its...
# android
Its a code snippet from XYZ module’s(basically its a multi module project)
file and we have 30 more modules, is there is a way to define this in a single
file and re-use that piece of snippet from there instead of duplicating in every buil.gradle file of every module.
In the project I have, I'd have a plug in convention apply this. One convention that applies the app, the other to apply the library. The code will be duplicated in the conventions, but that part has been manageable for us.
for a similar use case, I wrote a binary plugin which applies the logic, then one convention plugin (per Android project type) which applies the binary plugin
Thanks, I have no idea about convention plugin. I will learn about
ohhhh, thanks 🙂