For this we need at least possibility to inject code into template.build.gradle directly. Because gradly buildscript command only works from root gradle and does not work when subscript is included with “apply from:”
I think to solve this issue we need:
- Some way to inject code to template.build.gradle directly
- Task doWorkAfterDefoldBuild
Then we can write hooks in extensions’s gradles which will anchor custom gradle tasks after Defold’s custom build pipline