Skip to content

Commit

Permalink
Raise the Kotlin language version to match the minimal Gradle version
Browse files Browse the repository at this point in the history
  • Loading branch information
Omico committed Dec 9, 2024
1 parent 5241cec commit 648d4dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gradle-plugins/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 648d4dd

Please sign in to comment.