Skip to content

Commit

Permalink
Update to Gradle 8.10
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Aug 12, 2024
1 parent 2311195 commit 0fba16e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/assemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-13]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
# See please https://docs.gradle.org/8.10-rc-1/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
if: matrix.java == 11
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
Expand All @@ -29,6 +36,11 @@ jobs:
run: |
# Report success even if previous step failed (Docker on MacOS runner is very unstable)
exit 0;
- name: Update Gradle Daemon (JVM)
# See please https://docs.gradle.org/8.10-rc-1/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
if: matrix.java == 11
run: |
echo 'toolchainVersion=17' > gradle/gradle-daemon-jvm.properties
- name: Run Gradle (assemble)
if: runner.os != 'macos'
run: |
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,25 @@ jobs:
java: [ 11, 17, 21 ]
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
steps:
- name: Set up JDK 17
# See please https://docs.gradle.org/8.10-rc-1/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
if: matrix.java == 11
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: gradle
- name: Update Gradle Daemon (JVM)
# See please https://docs.gradle.org/8.10-rc-1/userguide/upgrading_version_8.html#minimum_daemon_jvm_version
if: matrix.java == 11
run: |
echo 'toolchainVersion=17' > gradle/gradle-daemon-jvm.properties
- name: Run Gradle (precommit)
run: |
./gradlew javadoc precommit --parallel
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-rc-1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=258e722ec21e955201e31447b0aed14201765a3bfbae296a46cf60b70e66db70
distributionSha256Sum=dea9b3572616026b04d32dfab297da2b215e5a63939d777444feb1dd164f917a

0 comments on commit 0fba16e

Please sign in to comment.