From 11432a7c204f2d85b9ac556a7fefac7c4c09a24c Mon Sep 17 00:00:00 2001 From: Sergey Polischuk Date: Thu, 31 Oct 2024 18:30:22 +0200 Subject: [PATCH] Downgrade Java to 17 for JBA plugin backward compatibility --- .github/workflows/deploy.yml | 2 +- Dockerfile | 2 +- build.gradle | 2 +- jitpack.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9da0ddc8..cc81d012 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Java uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '17' distribution: 'corretto' - name: Setup Gradle diff --git a/Dockerfile b/Dockerfile index 38cc945b..bd0f21c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM gradle:8.5-jdk21 +FROM gradle:8.5-jdk17 COPY --chown=gradle . hs-test WORKDIR /home/gradle/hs-test diff --git a/build.gradle b/build.gradle index 9f1ca38c..7bd35181 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { } group 'org.hyperskill' -version '12.0.1' +version '12.0.2' java { sourceCompatibility = JavaVersion.VERSION_21 diff --git a/jitpack.yml b/jitpack.yml index 5807189d..57db2961 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -1 +1 @@ -jdk: openjdk21 \ No newline at end of file +jdk: openjdk17 \ No newline at end of file