diff --git a/.github/workflows/build-commit.yml b/.github/workflows/build-commit.yml index 122a26b0d4..eafa512a7f 100644 --- a/.github/workflows/build-commit.yml +++ b/.github/workflows/build-commit.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 21 + java-version: 17 - name: Initialize caches uses: actions/cache@v3 with: diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index a67834dfb4..bfa62d120a 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -25,6 +25,6 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 21 + java-version: 17 - name: Build artifacts run: ./gradlew build \ No newline at end of file diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b35b681655..035e230acf 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -17,7 +17,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 21 + java-version: 17 - name: Build artifacts run: ./gradlew build -Pbuild.release=true - name: Upload assets to GitHub diff --git a/.github/workflows/build-tag.yml b/.github/workflows/build-tag.yml index ea477e9bf1..bab048e460 100644 --- a/.github/workflows/build-tag.yml +++ b/.github/workflows/build-tag.yml @@ -23,7 +23,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 21 + java-version: 17 - name: Initialize caches uses: actions/cache@v3 with: diff --git a/build.gradle.kts b/build.gradle.kts index 9c6362f996..f6cf145ab5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -34,8 +34,8 @@ loom { } java { - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } sourceSets {