diff --git a/ktoml-core/build.gradle.kts b/ktoml-core/build.gradle.kts index 5d0a84f6..a96770be 100644 --- a/ktoml-core/build.gradle.kts +++ b/ktoml-core/build.gradle.kts @@ -19,9 +19,7 @@ kotlin { // building jvm task only on windows jvm { compilations.all { - kotlinOptions { - jvmTarget = "11" - } + kotlinOptions.jvmTarget = "1.8" } } diff --git a/ktoml-file/build.gradle.kts b/ktoml-file/build.gradle.kts index 20c8755d..c9b307b1 100644 --- a/ktoml-file/build.gradle.kts +++ b/ktoml-file/build.gradle.kts @@ -11,9 +11,7 @@ kotlin { jvm { compilations.all { - kotlinOptions { - jvmTarget = "11" - } + kotlinOptions.jvmTarget = "1.8" } }