I'm using the gradle-tomcat-plugin to run tomcat on a simple web application. What Im trying to do is to change the root web application directory from src/main/webapp/
to WebContent/
tomcat {
httpPort = 8080
httpsPort = 8081
enableSSL = false
jasper {
uriroot = file('WebContent')
}
}
This is not working at all when I run gradle tomcatRun
and it still maps to src/main/webapp/
.
Any suggestions?