Skip to content

Commit

Permalink
Install a version of Gradle compatible with jdk-17 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeheust authored Jul 26, 2024
1 parent b7aa730 commit ba67aa1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions java/build-repo.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ steps:
command: |
echo $JAVA_HOME
timeoutInSeconds: 400
- type: Command
name: Install Gradle
timeoutInSeconds: 600
failImmediatelyOnError: true
command: |
curl -o gradle-8.5-bin.zip "https://services.gradle.org/distributions/gradle-8.5-bin.zip" -L
mkdir /opt/gradle
unzip -d /opt/gradle gradle-8.5-bin.zip
export PATH=/opt/gradle/gradle-8.5/bin:$PATH
onFailure:
- type: Command
command: |
ls
timeoutInSeconds: 400
- type: Command
name: Build application
timeoutInSeconds: 600
Expand Down

0 comments on commit ba67aa1

Please sign in to comment.