diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2023-03-01 19:48:38 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2023-03-22 10:22:34 +0100 |
commit | 70754bdf077059f3b62412b68548b5fc86178afd (patch) | |
tree | 5279d5ce08c6561d42b676aabb2ea5151306974a /docker | |
parent | 5dfe682989dc4db6915fbeca65a3e9df893d920e (diff) | |
download | lombok-70754bdf077059f3b62412b68548b5fc86178afd.tar.gz lombok-70754bdf077059f3b62412b68548b5fc86178afd.tar.bz2 lombok-70754bdf077059f3b62412b68548b5fc86178afd.zip |
Add Gradle 7.6.1 as default
Diffstat (limited to 'docker')
-rw-r--r-- | docker/gradle/Dockerfile | 2 | ||||
-rw-r--r-- | docker/gradle/readme.md | 5 | ||||
-rwxr-xr-x | docker/provision/gradle/gradle-7.6.1.sh | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/docker/gradle/Dockerfile b/docker/gradle/Dockerfile index a607f928..a83f9969 100644 --- a/docker/gradle/Dockerfile +++ b/docker/gradle/Dockerfile @@ -7,7 +7,7 @@ RUN provision/jdk/java-${jdk}.sh ARG lombokjar=lombok.jar
ADD https://projectlombok.org/downloads/${lombokjar} /lombok.jar
-ARG gradle=6.8.3
+ARG gradle=7.6.1
ADD provision/gradle/gradle-${gradle}.sh provision/gradle/gradle-${gradle}.sh
RUN provision/gradle/gradle-${gradle}.sh
diff --git a/docker/gradle/readme.md b/docker/gradle/readme.md index 360dcf56..3c0622a5 100644 --- a/docker/gradle/readme.md +++ b/docker/gradle/readme.md @@ -2,11 +2,12 @@ [_(general configuration and options)_](../readme.md) -### `ARG gradle=6.2.2` +### `ARG gradle=7.6.1` The gradle version to be used. Supported values: -- `6.8.3` (default) +- `6.6.1` (default) +- `6.8.3` - `6.2.2` - `6.0.1` - `5.6` diff --git a/docker/provision/gradle/gradle-7.6.1.sh b/docker/provision/gradle/gradle-7.6.1.sh new file mode 100755 index 00000000..d56d318a --- /dev/null +++ b/docker/provision/gradle/gradle-7.6.1.sh @@ -0,0 +1,4 @@ +apt-get update && apt-get install -y wget unzip +wget https://services.gradle.org/distributions/gradle-7.6.1-bin.zip -O gradle.zip +mkdir /opt/gradle && unzip -d /opt/gradle gradle.zip +mv /opt/gradle/gradle-7.6.1 /opt/gradle/gradle |