Skip to content

Commit

Permalink
Explicitly compile with Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 3, 2024
1 parent 13d310d commit 99af532
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@ dependencies {

java {
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

tasks.compileJava {
options.release = 17
}

preprocess {
Expand Down

0 comments on commit 99af532

Please sign in to comment.