[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 - name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3 uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 21 - name: Set up JDK 17
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 21 java-version: 17
check-latest: true check-latest: true
- name: Gradle Properties Import. - name: Gradle Properties Import.

View File

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

View File

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