can use "gradle build" to generate war file in build\lib
set war file generate location to "build/dist"