Skip to content

Commit 6bacc3e

Browse files
committed
.
1 parent 874b166 commit 6bacc3e

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
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
@@ -44,6 +46,8 @@ jobs:
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
@@ -53,6 +57,8 @@ jobs:
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

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
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
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3+
<<<<<<< Updated upstream
34
distributionUrl=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
48
networkTimeout=10000
59
zipStoreBase=GRADLE_USER_HOME
610
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)