diff --git a/modules/animation/build.gradle.kts b/modules/animation/build.gradle.kts index 34571a52..dc7169b1 100644 --- a/modules/animation/build.gradle.kts +++ b/modules/animation/build.gradle.kts @@ -1,6 +1,3 @@ -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - - plugins { kotlin("jvm") `maven-publish` @@ -178,7 +175,6 @@ signing { sign(publishing.publications["maven"]) } -tasks.withType { - kotlinOptions.jvmTarget = "11" +kotlin { + jvmToolchain(11) } - diff --git a/modules/logistics/build.gradle.kts b/modules/logistics/build.gradle.kts index d2185514..20e7e46e 100644 --- a/modules/logistics/build.gradle.kts +++ b/modules/logistics/build.gradle.kts @@ -1,6 +1,3 @@ -import org.jetbrains.kotlin.gradle.tasks.KotlinCompile - - plugins { kotlin("jvm") `maven-publish` @@ -122,7 +119,6 @@ signing { sign(publishing.publications["maven"]) } -tasks.withType { - kotlinOptions.jvmTarget = "11" +kotlin { + jvmToolchain(11) } -