Skip to content

Commit

Permalink
Fix java 21 build
Browse files Browse the repository at this point in the history
  • Loading branch information
mtricht committed Apr 19, 2024
1 parent 5c021f5 commit 7fa9309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {

tasks {
compileKotlin {
kotlinOptions.jvmTarget = "17"
kotlinOptions.jvmTarget = JavaVersion.VERSION_21.majorVersion
}
}

Expand All @@ -36,6 +36,7 @@ java {

val fatJar = task("fatJar", type = Jar::class) {
archiveBaseName.set("${project.name}-fat")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes["Implementation-Title"] = "Gamesense Essentials"
attributes["Implementation-Version"] = archiveVersion
Expand Down

0 comments on commit 7fa9309

Please sign in to comment.