File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
actions/custom-gradle-distribution-url Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Configure gradle distribution URL
2+ description : >
3+ Configures the gradle distribution URL to our custom URL
4+
5+ runs :
6+ using : composite
7+ steps :
8+ - name : Configure gradle distribution URL
9+ run : |
10+ # Keep gradle version in sync with aws-kotlin-repo-tools/gradle/wrapper/gradle-wrapper.properties
11+ gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
12+ shell : bash
Original file line number Diff line number Diff line change 2727 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
2828 restore-keys : |
2929 ${{ runner.os }}-gradle-
30+ - name : Configure Gradle
31+ uses : .github/actions/custom-gradle-distribution-url
3032 - name : Build and Test ${{ env.PACKAGE_NAME }}
3133 run : |
3234 ./gradlew build
4446 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
4547 restore-keys : |
4648 ${{ runner.os }}-gradle-
49+ - name : Configure Gradle
50+ uses : .github/actions/custom-gradle-distribution-url
4751 - name : Build and Test ${{ env.PACKAGE_NAME }}
4852 run : |
4953 ./gradlew build
5357 steps :
5458 - name : Checkout sources
5559 uses : actions/checkout@v2
60+ - name : Configure Gradle
61+ uses : .github/actions/custom-gradle-distribution-url
5662 - name : Build and Test ${{ env.PACKAGE_NAME }}
5763 run : |
5864 ./gradlew build
Original file line number Diff line number Diff line change 1818 steps :
1919 - name : Checkout sources
2020 uses : actions/checkout@v2
21+ - name : Configure Gradle
22+ uses : .github/actions/custom-gradle-distribution-url
2123 - name : Lint ${{ env.PACKAGE_NAME }}
2224 run : |
2325 ./gradlew ktlint
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3+ <<<<<<< Updated upstream
34distributionUrl =https://d2pjps8lqszrgq.cloudfront.net/gradle-8.5-bin.zip
5+ =======
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12-bin.zip
7+ >>>>>>> Stashed changes
48networkTimeout =10000
59zipStoreBase =GRADLE_USER_HOME
610zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments