build.gradle now generates a proper war file