When calling gradle war, instead of taking content of src/main/webapp I would like to take the content of another folder. Ideally I would like also to call a command to generate this folder. How can I do that ? So basically here is what I want :
- gradle war is called 2) tool is called to generate my web files 3) a war is generated with the content of src/main/webapp/Build/Deployment instead of the default src/main/webapp.