diff --git a/.github/workflows/codebuild-ci.yml b/.github/workflows/codebuild-ci.yml index d6e7b4d9840..209dd64dad8 100644 --- a/.github/workflows/codebuild-ci.yml +++ b/.github/workflows/codebuild-ci.yml @@ -83,6 +83,8 @@ jobs: with: role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} aws-region: us-west-2 + - name: Configure Gradle + run: gradle wrapper --gradle-distribution-url ${{ secrets.CUSTOM_GRADLE_DISTRIBUTION_URL }}/gradle-8.5-bin.zip - name: Run Service Check Batch and Calculate Artifact Size Metrics id: svc-check-batch run: | @@ -210,6 +212,8 @@ jobs: with: role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} aws-region: us-west-2 + - name: Configure Gradle + run: gradle wrapper --gradle-distribution-url ${{ secrets.CUSTOM_GRADLE_DISTRIBUTION_URL }}/gradle-8.5-bin.zip - name: Calculate Artifact Size Metrics id: svc-check-batch run: | diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b8cb2e12035..6d7843b6763 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -33,6 +33,8 @@ jobs: path: 'aws-sdk-kotlin' - name: Setup Build uses: ./aws-sdk-kotlin/.github/actions/setup-build + - name: Configure Gradle + run: gradle wrapper --gradle-distribution-url ${{ secrets.CUSTOM_GRADLE_DISTRIBUTION_URL }}/gradle-8.5-bin.zip - name: Test working-directory: ./aws-sdk-kotlin shell: bash @@ -54,6 +56,8 @@ jobs: path: 'aws-sdk-kotlin' - name: Setup Build uses: ./aws-sdk-kotlin/.github/actions/setup-build + - name: Configure Gradle + run: gradle wrapper --gradle-distribution-url ${{ secrets.CUSTOM_GRADLE_DISTRIBUTION_URL }}/gradle-8.5-bin.zip - name: Build smithy-kotlin working-directory: ./smithy-kotlin shell: bash diff --git a/.github/workflows/kat-transform.yml b/.github/workflows/kat-transform.yml index 6608dfae8b4..57f9f57ca94 100644 --- a/.github/workflows/kat-transform.yml +++ b/.github/workflows/kat-transform.yml @@ -36,6 +36,9 @@ jobs: role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }} aws-region: us-west-2 + - name: Configure Gradle + run: gradle wrapper --gradle-distribution-url ${{ secrets.CUSTOM_GRADLE_DISTRIBUTION_URL }}/gradle-8.5-bin.zip + - name: Setup kat uses: awslabs/aws-kotlin-repo-tools/.github/actions/setup-kat@main diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ae9d88579d7..9dd7f1d4e19 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v4 + - name: Configure Gradle + run: gradle wrapper --gradle-distribution-url ${{ secrets.CUSTOM_GRADLE_DISTRIBUTION_URL }}/gradle-8.5-bin.zip - name: Lint ${{ env.PACKAGE_NAME }} run: | ./gradlew ktlint diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index cad24ac60ff..5d929198021 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -43,6 +43,8 @@ jobs: distribution: 'corretto' java-version: 17 cache: 'gradle' + - name: Configure Gradle + run: gradle wrapper --gradle-distribution-url ${{ secrets.CUSTOM_GRADLE_DISTRIBUTION_URL }}/gradle-8.5-bin.zip - name: Check merge base shell: bash run: | diff --git a/examples/gradle/wrapper/gradle-wrapper.properties b/examples/gradle/wrapper/gradle-wrapper.properties index 28b1c9dfc52..38cd5b845e2 100644 --- a/examples/gradle/wrapper/gradle-wrapper.properties +++ b/examples/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https://d2pjps8lqszrgq.cloudfront.net/gradle-8.10-bin.zip +distributionUrl=https://d2pjps8lqszrgq.cloudfront.net/gradle-8.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/tests/integration-tests/ecs-credentials/gradle/wrapper/gradle-wrapper.properties b/tests/integration-tests/ecs-credentials/gradle/wrapper/gradle-wrapper.properties index 221bb5c9b6c..05f8108d455 100644 --- a/tests/integration-tests/ecs-credentials/gradle/wrapper/gradle-wrapper.properties +++ b/tests/integration-tests/ecs-credentials/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https://d2pjps8lqszrgq.cloudfront.net/gradle-7.2-bin.zip +distributionUrl=https://d2pjps8lqszrgq.cloudfront.net/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists