Update build.gradle

remove war.dependsOn test