I\'m trying to write a Gradle task which copies generated war files to my local tomcat instance:
This isn\'t working and I\'m not sure how to debug it:
If you already have the war plugin you can also just add
war.doLast { copy { from war.archiveFile into "${tomcatHome}/webapps" } }
Then you will always automatically deploy each time you build the war file.