Skip to content

Commit

Permalink
Upgrade to Gradle 8.9 (apache#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonofre authored and sfc-gh-mcollado committed Jul 30, 2024
1 parent f1c4f85 commit 43126c7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Ignore Gradle wrapper jar file
gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper-*.sha256

# Avoid ignore Gradle wrappper properties
!gradle-wrapper.properties

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ docker run -p 8080:80 -v ${PWD}:/spec redocly/cli build-docs spec/rest-catalog-o
## Requirements / Setup

- Java JDK >= 21, see [CONTRIBUTING.md](./CONTRIBUTING.md#java-version-requirements).
- Gradle 8.6 - This is included in the project and can be run using `./gradlew` in the project root.
- Gradle - This is included in the project and can be run using `./gradlew` in the project root.
- Docker - If you want to run the project in a containerized environment.

Command-Line getting started
Expand Down
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
# See https://gradle.org/release-checksums/ for valid checksums
distributionSha256Sum=d725d707bfabd4dfdc958c624003b3c80accc03f7037b5122c4b1d0ef15cecab
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 4 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit

if [ ! -e $APP_HOME/gradle/wrapper/gradle-wrapper.jar ]; then
curl -o $APP_HOME/gradle/wrapper/gradle-wrapper.jar https://raw.githubusercontent.com/gradle/gradle/v8.9.0/gradle/wrapper/gradle-wrapper.jar
fi

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum

Expand Down

0 comments on commit 43126c7

Please sign in to comment.