multiproject-git-gradle
multiproject-git-gradle copied to clipboard
gradle build and deploy war from multiple sources
As there is no other way to ask you question:
Could you project help with building in a way as described here: http://stackoverflow.com/questions/23076436/gradle-build-and-deploy-war-to-different-servers If yes, some example would be helpful.
I looked at your stackoverflow question. I'd be glad to help you. My questions:
- Is placement of "src" outside of project tree a requirement? Does it reside in different source-code repository (git, subversion, etc.)?
- Did you consider sharing code as JAR-libraries instead of sources?
- Are you trying to implement so-called WAR-overlays with gradle? If so, please consider using Gretty plugin - it supports WAR-overlays out-of-the-box.
Source could be inside the tree. But it is separate project in git. Final result is multiple war files. Each war have several resource files differ from each other. There is no need to exchange jars, as there is only one "source" project. Yes, WAR-overlays is what i need. After searching 10 min for that in google, i think I already have solution :) Thank you for help.
You are welcome :)