Skip to content

Commit

Permalink
Merge pull request #9 from TheNextLvl-net/toolchain
Browse files Browse the repository at this point in the history
Update Java compatibility configuration
  • Loading branch information
NonSwag authored Sep 1, 2024
2 parents 50d1c18 + f349602 commit be4b4e8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ group = "net.thenextlvl.services"
version = "1.0.0"

java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
toolchain.languageVersion = JavaLanguageVersion.of(21)
withSourcesJar()
withJavadocJar()
}

tasks.compileJava {
options.release.set(21)
}

repositories {
mavenCentral()
maven("https://repo.thenextlvl.net/releases")
Expand Down

0 comments on commit be4b4e8

Please sign in to comment.