Change gradle build to generate a war file