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 22
22
}
23
23
24
24
plugins. withId(' war' ) {
25
- webAppDirName = ' src/main/webapp'
25
+ war {
26
+ webAppDirectory = file(' src/main/webapp' )
27
+ }
26
28
}
Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ dependencies {
12
12
apply plugin : ' application'
13
13
apply plugin : ' com.github.johnrengelman.shadow'
14
14
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
+ }
17
19
18
20
shadowJar {
19
- from(project . convention . getPlugin( JavaPluginConvention ) . sourceSets. main. output)
21
+ from(sourceSets. main. output)
20
22
configurations = [project. configurations. runtimeClasspath]
21
23
22
24
exclude(
You can’t perform that action at this time.
0 commit comments