From d4bb3b33c6e795abd52e51fe2ffef93396e5790a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 25 Apr 2024 18:06:50 +0100 Subject: [PATCH] Upgrade to Gradle Enterprise Conventions 0.0.17 Closes gh-928 --- .github/workflows/build-and-deploy-snapshot.yml | 2 +- .github/workflows/build.yml | 2 +- settings.gradle | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy-snapshot.yml b/.github/workflows/build-and-deploy-snapshot.yml index 893ad901..94817c6d 100644 --- a/.github/workflows/build-and-deploy-snapshot.yml +++ b/.github/workflows/build-and-deploy-snapshot.yml @@ -30,7 +30,7 @@ jobs: - name: Build and Publish env: DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} - run: ./gradlew --refresh-dependencies -PdeploymentRepository=$(pwd)/distribution-repository build publishAllPublicationsToDeploymentRepository + run: ./gradlew -PdeploymentRepository=$(pwd)/distribution-repository build publishAllPublicationsToDeploymentRepository - name: Deploy uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef9f35d8..5897a7f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,4 +45,4 @@ jobs: - name: Build env: DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} - run: ./gradlew --refresh-dependencies build + run: ./gradlew build diff --git a/settings.gradle b/settings.gradle index 051b9561..54ac65f2 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,7 +2,6 @@ pluginManagement { repositories { mavenCentral() gradlePluginPortal() - maven { url 'https://repo.spring.io/snapshot' } } resolutionStrategy { eachPlugin { @@ -15,7 +14,7 @@ pluginManagement { plugins { id "com.gradle.develocity" version "3.17.2" - id "io.spring.ge.conventions" version "0.0.17-SNAPSHOT" + id "io.spring.ge.conventions" version "0.0.17" } rootProject.name = "spring-restdocs"