Skip to content

Commit

Permalink
build: use compilerOptions instead of kotlinOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 committed Nov 11, 2024
1 parent 037d0f3 commit 12b9a02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

/*
* Copyright 2024 Siroshun09
*
Expand Down Expand Up @@ -53,8 +55,8 @@ tasks {
}

compileKotlin {
kotlinOptions {
jvmTarget = javaVersion.majorVersion
compilerOptions {
jvmTarget.set(JvmTarget.fromTarget(javaVersion.majorVersion))
}
}
}

0 comments on commit 12b9a02

Please sign in to comment.