build.gradle.kts

changeset 174
690a9aad3f16
parent 166
6eede6088d41
child 190
a83f1ab56898
--- a/build.gradle.kts	Mon Jan 04 12:45:46 2021 +0100
+++ b/build.gradle.kts	Mon Jan 04 15:14:26 2021 +0100
@@ -19,6 +19,12 @@
     kotlinOptions.jvmTarget = "11"
 }
 
+// remove after removing all java sources
+tasks.withType<JavaCompile>().configureEach {
+    sourceCompatibility = "11"
+    targetCompatibility = "11"
+}
+
 tasks.war {
     archiveFileName.set("lightpit.war")
     from("src/main/resources")

mercurial