build.gradle.kts

changeset 258
564ae07a6def
parent 256
a7da88714dc3
child 262
c357c4e69b9e
equal deleted inserted replaced
257:c1be672af7ff 258:564ae07a6def
13 13
14 tasks.withType<KotlinCompile>().configureEach { 14 tasks.withType<KotlinCompile>().configureEach {
15 kotlinOptions.jvmTarget = "11" 15 kotlinOptions.jvmTarget = "11"
16 } 16 }
17 17
18 tasks.jar {
19 enabled = false
20 }
21
18 tasks.war { 22 tasks.war {
23 duplicatesStrategy = DuplicatesStrategy.WARN
19 archiveFileName.set("lightpit.war") 24 archiveFileName.set("lightpit.war")
20 from("src/main/resources") 25 from("src/main/resources")
21 } 26 }
22 27
23 kotlin { 28 kotlin {

mercurial