diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts index 20c876e..6a768a3 100644 --- a/build-logic/build.gradle.kts +++ b/build-logic/build.gradle.kts @@ -1,3 +1,5 @@ +import org.jetbrains.kotlin.gradle.dsl.JvmTarget + /* * Copyright 2024 Siroshun09 * @@ -53,8 +55,8 @@ tasks { } compileKotlin { - kotlinOptions { - jvmTarget = javaVersion.majorVersion + compilerOptions { + jvmTarget.set(JvmTarget.fromTarget(javaVersion.majorVersion)) } } }