diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5dad1a4..3d85b4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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. diff --git a/buildSrc/src/main/kotlin/java-plugin.gradle.kts b/buildSrc/src/main/kotlin/java-plugin.gradle.kts index 7f0f291..4251aeb 100644 --- a/buildSrc/src/main/kotlin/java-plugin.gradle.kts +++ b/buildSrc/src/main/kotlin/java-plugin.gradle.kts @@ -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 { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a9f57e1..28ad480 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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"