remove java task from build file

Thu, 29 Dec 2022 14:03:00 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 29 Dec 2022 14:03:00 +0100
changeset 256
a7da88714dc3
parent 255
1270f91b4c22
child 257
c1be672af7ff

remove java task from build file

build.gradle.kts file | annotate | diff | comparison | revisions
--- a/build.gradle.kts	Thu Dec 29 13:58:08 2022 +0100
+++ b/build.gradle.kts	Thu Dec 29 14:03:00 2022 +0100
@@ -15,12 +15,6 @@
     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