File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2222}
2323
2424plugins. withId(' war' ) {
25- webAppDirName = ' src/main/webapp'
25+ war {
26+ webAppDirectory = file(' src/main/webapp' )
27+ }
2628}
Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ dependencies {
1212apply plugin : ' application'
1313apply plugin : ' com.github.johnrengelman.shadow'
1414
15- mainClassName = ' org.eclipse.xtext.ide.server.ServerLauncher'
16- applicationName = ' xtext-server'
15+ application {
16+ mainClass = ' org.eclipse.xtext.ide.server.ServerLauncher'
17+ applicationName = ' xtext-server'
18+ }
1719
1820shadowJar {
19- from(project . convention . getPlugin( JavaPluginConvention ) . sourceSets. main. output)
21+ from(sourceSets. main. output)
2022 configurations = [project. configurations. runtimeClasspath]
2123
2224 exclude(
You can’t perform that action at this time.
0 commit comments