File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
generators/spring-boot/templates/gradle Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1919apply plugin: "war"
2020
2121bootWar {
22- mainClass = "<%= packageName %> .<%= mainClass %> "
23- includes = ["WEB-INF/**", "META-INF/**"]
2422<% _ if (! skipClient) { _% >
25- webXml = file (" ${project.rootDir}/ <%= locals.clientSrcDir %>WEB-INF/web.xml " )
23+ webAppDirectory = file (" <%= locals.clientDistDir %>" )
2624< % _ } _%>
25+ mainClass = "<%= packageName %> .<%= mainClass %> "
26+ includes = ["WEB-INF/**", "META-INF/**"]
2727}
2828
2929war {
3030<% _ if (! skipClient) { _% >
3131 webAppDirectory = file (" <%= locals.clientDistDir %>" )
32- webXml = file (" ${project.rootDir}/<%= locals.clientSrcDir %>WEB-INF/web.xml" )
3332< % _ } _%>
3433 enabled = true
3534 archiveExtension = "war.original"
3635 includes = ["WEB-INF/**", "META-INF/**"]
37-
3836}
You can’t perform that action at this time.
0 commit comments