Skip to content

Commit

Permalink
Upgrade to Gradle 8.9
Browse files Browse the repository at this point in the history
- Remove dual JDK install steps in GitHub Action Workflow to account for gradle 8.9 supporting Java 22
  • Loading branch information
tginsberg committed Jul 21, 2024
1 parent 00a7215 commit 9a57d52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Used by gradle toolchain to actually build
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'temurin'

# Because gradle 8.7 only supports Java 21, run the build with 21 and
# use the 22 version as a toolchain
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 9a57d52

Please sign in to comment.