diff --git a/gradle-plugins/build.gradle.kts b/gradle-plugins/build.gradle.kts index fc57515fbb..5c6c19a219 100644 --- a/gradle-plugins/build.gradle.kts +++ b/gradle-plugins/build.gradle.kts @@ -34,8 +34,10 @@ subprojects { compilerOptions { // must be set to a language version of the kotlin compiler & runtime, // which is bundled to the oldest supported Gradle - languageVersion.set(KotlinVersion.KOTLIN_1_5) - apiVersion.set(KotlinVersion.KOTLIN_1_5) + // Current oldest-supported Gradle is 8.0, + // follow the https://docs.gradle.org/current/userguide/compatibility.html#kotlin + languageVersion.set(KotlinVersion.KOTLIN_1_8) + apiVersion.set(KotlinVersion.KOTLIN_1_8) jvmTarget.set(JvmTarget.JVM_11) } }