Skip to content

Commit

Permalink
[build] Add gradle 8.5 to integration test docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rzwitserloot committed Jan 12, 2024
1 parent ddf8778 commit b669c7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/gradle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN provision/jdk/java-${jdk}.sh
ARG lombokjar=lombok.jar
ADD https://projectlombok.org/downloads/${lombokjar} /lombok.jar

ARG gradle=8.3
ARG gradle=8.5
ADD provision/gradle/gradle-${gradle}.sh provision/gradle/gradle-${gradle}.sh
RUN provision/gradle/gradle-${gradle}.sh

Expand Down
5 changes: 3 additions & 2 deletions docker/gradle/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

[_(general configuration and options)_](../readme.md)

### `ARG gradle=8.3`
### `ARG gradle=8.5`

The gradle version to be used. Supported values:

- `8.3` (default)
- `8.5` (default)
- `8.3`
- `7.6.1`
- `6.8.3`

Expand Down
4 changes: 4 additions & 0 deletions docker/provision/gradle/gradle-8.5.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apt-get update && apt-get install -y wget unzip
wget https://github.com/gradle/gradle-distributions/releases/download/v8.5.0/gradle-8.5-bin.zip -O gradle.zip
mkdir /opt/gradle && unzip -d /opt/gradle gradle.zip
mv /opt/gradle/gradle-8.5 /opt/gradle/gradle

0 comments on commit b669c7d

Please sign in to comment.