I am working on a multi module grails project and using gradle-grails-plugin-2.0.0-snapshot Main project [A] . it depends on grails plugin [b] and [c]
When I try to do a gradle build or gradle assemble, it creates the build folder in [A] and [b] and [C] and puts a jar file. If i open the jar file, it is empty. Can you please help me on how to resolve this/
it is throwing error as it cannot find finance.jar, but I do not need a jar for that folder. Also, i cannot add “grails-package-plugin” in the main project.
I want to publish the jars[core and domain that are under finance folder] and wars to nexus through jenkins.
MainProject which has build.gradle and settings
–> finance is just a folder which has the following two grails plugin project
–> domain --> grails plugin project which has build.gradle
–> core --> grails plugin project which has build.gradle -->App -->grails project that is dependant on finance/domain and finance/core and create a war.
the app.war will have dependant jars to core.jar and domain.jar.
If i create the project structure asbelow, then it works fine.
MainProject
->domain
->core
->App
I i create few plugins under a folder as below and put some generic tasks in the mainprojects build.gradle, i think, it tries to apply that to each and every project underneath and that causes issue.