war.gradle 427 B

12345678910111213141516
  1. apply plugin: "war"
  2. bootWar {
  3. mainClass = "com.ruowei.ecsp.EcspApp"
  4. includes = ["WEB-INF/**", "META-INF/**"]
  5. webXml = file("${project.rootDir}/src/main/webapp/WEB-INF/web.xml")
  6. }
  7. war {
  8. webAppDirName = "build/resources/main/static/"
  9. webXml = file("${project.rootDir}/src/main/webapp/WEB-INF/web.xml")
  10. enabled = true
  11. archiveExtension = "war.original"
  12. includes = ["WEB-INF/**", "META-INF/**"]
  13. }