Skip to content

Commit 652b50e

Browse files
committed
Install a version of Gradle compatible with jdk-17
1 parent b7aa730 commit 652b50e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

java/build-repo.yaml.template

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,20 @@ steps:
2525
command: |
2626
echo $JAVA_HOME
2727
timeoutInSeconds: 400
28+
- type: Command
29+
name: Install Gradle
30+
timeoutInSeconds: 600
31+
failImmediatelyOnError: true
32+
command: |
33+
curl -o gradle-8.5-bin.zip "https://services.gradle.org/distributions/gradle-8.5-bin.zip" -L
34+
mkdir /opt/gradle
35+
unzip -d /opt/gradle gradle-8.5-bin.zip
36+
export PATH=/opt/gradle/gradle-8.5/bin:$PATH
37+
onFailure:
38+
- type: Command
39+
command: |
40+
ls
41+
timeoutInSeconds: 400
2842
- type: Command
2943
name: Build application
3044
timeoutInSeconds: 600

0 commit comments

Comments
 (0)