diff -r 1dc56ab7845e -r 690a9aad3f16 build.gradle.kts --- 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().configureEach { + sourceCompatibility = "11" + targetCompatibility = "11" +} + tasks.war { archiveFileName.set("lightpit.war") from("src/main/resources")