[build] set java version to 17

This commit is contained in:
Ryder Belserion 2024-06-16 21:44:36 -04:00
parent c0fc1c2f51
commit a21bfda27a
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View File

@ -21,11 +21,11 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 21
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
java-version: 17
check-latest: true
- name: Gradle Properties Import.

View File

@ -26,14 +26,14 @@ repositories {
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(21)
options.release.set(17)
}
javadoc {

View File

@ -1,7 +1,7 @@
[versions]
# Minecraft
paper = "1.20.6-R0.1-SNAPSHOT"
minecraft = "1.20.6"
paper = "1.20.4-R0.1-SNAPSHOT"
minecraft = "1.20.4"
# Plugins
itemsadder = "3.6.3-beta-14"