build.gradle.kts

changeset 256
a7da88714dc3
parent 254
55ca6cafc3dd
child 258
564ae07a6def
equal deleted inserted replaced
255:1270f91b4c22 256:a7da88714dc3
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")

mercurial