11 mavenCentral() |
11 mavenCentral() |
12 } |
12 } |
13 |
13 |
14 tasks.withType<KotlinCompile>().configureEach { |
14 tasks.withType<KotlinCompile>().configureEach { |
15 kotlinOptions.jvmTarget = "11" |
15 kotlinOptions.jvmTarget = "11" |
16 } |
|
17 |
|
18 // remove after removing all java sources |
|
19 tasks.withType<JavaCompile>().configureEach { |
|
20 sourceCompatibility = "11" |
|
21 targetCompatibility = "11" |
|
22 } |
16 } |
23 |
17 |
24 tasks.war { |
18 tasks.war { |
25 archiveFileName.set("lightpit.war") |
19 archiveFileName.set("lightpit.war") |
26 from("src/main/resources") |
20 from("src/main/resources") |