From 19bd66292bf7b7e0b5626d3d5e40d2ea086fc63a Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:17:59 -0700 Subject: [PATCH] update kotlin options --- build.gradle.kts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index bede9cf..da0c832 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,5 @@ import org.incendo.cloudbuildlogic.jmp +import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { `kotlin-dsl` @@ -74,12 +75,8 @@ kotlin { jvmToolchain { languageVersion = JavaLanguageVersion.of(8) } - target { - compilations.configureEach { - kotlinOptions { - jvmTarget = "1.8" - } - } + compilerOptions { + jvmTarget = JvmTarget.JVM_1_8 } }