File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
examples/powertools-examples-core Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 7272 cache : ' maven'
7373 - name : Build with Maven
7474 run : mvn -B install --file pom.xml
75+ - name : Build Gradle Setup
76+ if : ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8
77+ working-directory : examples/powertools-examples-core/gradle
78+ run : |
79+ curl -L -o gradle/wrapper/gradle.zip https:$(cat gradle/wrapper/gradle-wrapper.properties | grep distributionUrl | cut -d ':' -f 2)
80+ unzip gradle/wrapper/gradle.zip -d gradle/wrapper/gradle
81+ mv gradle/wrapper/gradle/gradle-8.2.1/lib/gradle-wrapper-8.2.1.jar gradle/wrapper/gradle-wrapper.jar
7582 - name : Build Gradle Example - Java
7683 if : ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8
7784 working-directory : examples/powertools-examples-core/gradle
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6.1 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -111,12 +111,6 @@ case "$( uname )" in #(
111111 NONSTOP* ) nonstop=true ;;
112112esac
113113
114-
115- curl -L -o $APP_HOME /gradle/wrapper/gradle.zip https:$( cat $APP_HOME /gradle/wrapper/gradle-wrapper.properties | grep distributionUrl | cut -d ' :' -f 2)
116- unzip $APP_HOME /gradle/wrapper/gradle.zip -d $APP_HOME /gradle/wrapper/gradle
117- mv $APP_HOME /gradle/wrapper/gradle/gradle-7.3.3/lib/gradle-wrapper-7.3.3.jar $APP_HOME /gradle/wrapper/gradle-wrapper.jar
118-
119-
120114CLASSPATH=$APP_HOME /gradle/wrapper/gradle-wrapper.jar
121115
122116
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3.3 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.2.1 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments