Skip to content

Commit

Permalink
Toolchain stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Jun 18, 2024
1 parent 73bd0fc commit 0ab6210
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ allprojects {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()

toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

test {
Expand Down
6 changes: 6 additions & 0 deletions eco-core/core-nms/nms-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ version = rootProject.version
dependencies {
paperweight.paperDevBundle("1.17.1-R0.1-SNAPSHOT")
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
6 changes: 6 additions & 0 deletions eco-core/core-nms/v1_17_R1/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ tasks {
)
}
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
6 changes: 6 additions & 0 deletions eco-core/core-nms/v1_18_R1/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ tasks {
)
}
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
6 changes: 6 additions & 0 deletions eco-core/core-nms/v1_18_R2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ tasks {
)
}
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
6 changes: 6 additions & 0 deletions eco-core/core-nms/v1_19_R1/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ tasks {
)
}
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

0 comments on commit 0ab6210

Please sign in to comment.