Skip to content

Commit

Permalink
update java version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland committed Jun 9, 2024
1 parent 345aca7 commit 39b3672
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
id("org.jetbrains.kotlin.jvm") version "2.0.0"
}
Expand All @@ -8,3 +10,12 @@ version = "1.0.0"
repositories {
mavenCentral()
}

tasks.compileKotlin {
compilerOptions.jvmTarget = JvmTarget.JVM_17
}

tasks.compileJava {
sourceCompatibility = "17"
targetCompatibility = "17"
}

0 comments on commit 39b3672

Please sign in to comment.