diff --git a/core/build.gradle.kts b/core/build.gradle.kts index b59263c165..c8060df98c 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -14,10 +14,10 @@ kotlin { target { compilations.all { - kotlinOptions.jvmTarget = JavaVersion.VERSION_11.majorVersion + kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString() } } } java { - targetCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_1_8 } diff --git a/desktop/build.gradle.kts b/desktop/build.gradle.kts index 1eab8f0310..e99cf3e7f4 100644 --- a/desktop/build.gradle.kts +++ b/desktop/build.gradle.kts @@ -17,12 +17,12 @@ kotlin { target { compilations.all { - kotlinOptions.jvmTarget = JavaVersion.VERSION_11.majorVersion + kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString() } } } java { - targetCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_1_8 } dependencies {