build.gradle.kts

changeset 174
690a9aad3f16
parent 166
6eede6088d41
child 190
a83f1ab56898
equal deleted inserted replaced
173:1dc56ab7845e 174:690a9aad3f16
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")

mercurial