In Eclipse I have the main “Dynamic Web Project” that depends on a “Java Project” library.
When not using Gradle I would add the library project to the “Deployment Assembly” of the main project, with the final result of having the library deployed to the server as a jar inside of WEB-INF/lib.
I currently have both projects as independent Gradle builds. If I manually change the Deployment Assembly of the main project, it gets overwritten at every “Refresh Gradle Project”. So I guess there must be some way to do that automatically.
Is there some “eclipse-wtp” option to specify the content of the Deployment Assembly?
Should I configure a multiproject gradle build? In such a case, can I keep the library project as an external independent project or do I need a common root folder for both projects?
Should I use the “Composite Builds” feature instead? Is it supported by Buildship already?