I am working on a multi module grails plugin project. I am planning to use gradle to build the project.
Since, gradle needs a build.gradle under each and every project to specify the dependencies and repositories, is it possible to create a custom gradle plugin project that copies the dependencies and repositories section from buildconfig.groovy into build.gradle at build time.
Buid time, in the sense, if i am doing gradle release in jenkins, it will checkout the project from svn and custom gradle plugin should be executed to generate the build.gradle under each and every project and then the normal flow should happen.
Is that feasible in gradle? In maven, we can inject similar plugins in the build phase or install phase.
Can you please let me know, if it can be done through gradle plugin or is ther any other way of doing things.