Skip to content

Commit

Permalink
Update connect-kotlin to target kotlin 1.8
Browse files Browse the repository at this point in the history
Kotlin 1.6 and 1.7 are now marked deprecated in KT-60521. Update
connect-kotlin to target Kotlin 1.8.

Signed-off-by: Philip K. Warren <pwarren@buf.build>
  • Loading branch information
pkwarren committed Dec 2, 2024
1 parent f6ad593 commit 520dfaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ subprojects {
tasks.withType<KotlinJvmCompile> {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_1_8)
languageVersion.set(KotlinVersion.KOTLIN_1_7)
apiVersion.set(KotlinVersion.KOTLIN_1_7)
languageVersion.set(KotlinVersion.KOTLIN_1_8)
apiVersion.set(KotlinVersion.KOTLIN_1_8)
if (JavaVersion.current().isJava9Compatible && project.name != "android") {
freeCompilerArgs.add("-Xjdk-release=1.8")
}
Expand Down

0 comments on commit 520dfaf

Please sign in to comment.