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