From 169732e0ffa871a1bc3b52057e09ff290cc69139 Mon Sep 17 00:00:00 2001 From: kaklakariada Date: Sat, 14 Feb 2026 11:26:35 +0800 Subject: [PATCH] Use Java 17 for building releases --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22f77cc..b402b3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,11 +40,11 @@ jobs: uses: gradle/actions/setup-gradle@v5 - name: Build - run: ./gradlew build --warning-mode all + run: ./gradlew build --warning-mode all -PjavaVersion=17 - name: Publish to plugins.gradle.org if: ${{ !inputs.skip-deploy-gradle-plugin }} - run: ./gradlew publishPlugins --warning-mode all + run: ./gradlew publishPlugins --warning-mode all -PjavaVersion=17 env: GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}