From 9c7269b85b352763e6807ceae109257e972c8736 Mon Sep 17 00:00:00 2001 From: daz Date: Sat, 23 Dec 2023 13:15:21 -0700 Subject: [PATCH] Update to latest Develocity plugins --- .github/workflow-samples/groovy-dsl/settings.gradle | 4 ++-- .github/workflow-samples/kotlin-dsl/settings.gradle.kts | 4 ++-- .github/workflow-samples/no-wrapper-gradle-5/build.gradle | 2 +- .github/workflow-samples/no-wrapper/settings.gradle | 2 +- .github/workflows/integ-test-inject-gradle-enterprise.yml | 4 ++-- README.md | 4 ++-- test/init-scripts/settings.gradle | 4 ++-- .../com/gradle/gradlebuildaction/BaseInitScriptTest.groovy | 4 ++-- .../gradle/gradlebuildaction/TestBuildResultRecorder.groovy | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflow-samples/groovy-dsl/settings.gradle b/.github/workflow-samples/groovy-dsl/settings.gradle index 8e8997d..49c4bf0 100644 --- a/.github/workflow-samples/groovy-dsl/settings.gradle +++ b/.github/workflow-samples/groovy-dsl/settings.gradle @@ -1,6 +1,6 @@ plugins { - id "com.gradle.enterprise" version "3.15.1" - id "com.gradle.common-custom-user-data-gradle-plugin" version "1.12" + id "com.gradle.enterprise" version "3.16.1" + id "com.gradle.common-custom-user-data-gradle-plugin" version "1.12.1" } gradleEnterprise { diff --git a/.github/workflow-samples/kotlin-dsl/settings.gradle.kts b/.github/workflow-samples/kotlin-dsl/settings.gradle.kts index dc330d3..e0be391 100644 --- a/.github/workflow-samples/kotlin-dsl/settings.gradle.kts +++ b/.github/workflow-samples/kotlin-dsl/settings.gradle.kts @@ -1,6 +1,6 @@ plugins { - id("com.gradle.enterprise") version "3.15.1" - id("com.gradle.common-custom-user-data-gradle-plugin") version "1.12" + id("com.gradle.enterprise") version "3.16.1" + id("com.gradle.common-custom-user-data-gradle-plugin") version "1.12.1" } gradleEnterprise { diff --git a/.github/workflow-samples/no-wrapper-gradle-5/build.gradle b/.github/workflow-samples/no-wrapper-gradle-5/build.gradle index 598ca84..86565a4 100644 --- a/.github/workflow-samples/no-wrapper-gradle-5/build.gradle +++ b/.github/workflow-samples/no-wrapper-gradle-5/build.gradle @@ -1,5 +1,5 @@ plugins { - id "com.gradle.build-scan" version "3.15.1" + id "com.gradle.build-scan" version "3.16.1" } gradleEnterprise { diff --git a/.github/workflow-samples/no-wrapper/settings.gradle b/.github/workflow-samples/no-wrapper/settings.gradle index 7a12409..f775eef 100644 --- a/.github/workflow-samples/no-wrapper/settings.gradle +++ b/.github/workflow-samples/no-wrapper/settings.gradle @@ -1,5 +1,5 @@ plugins { - id "com.gradle.enterprise" version "3.15.1" + id "com.gradle.enterprise" version "3.16.1" } gradleEnterprise { diff --git a/.github/workflows/integ-test-inject-gradle-enterprise.yml b/.github/workflows/integ-test-inject-gradle-enterprise.yml index 3851e9d..4a0b0b9 100644 --- a/.github/workflows/integ-test-inject-gradle-enterprise.yml +++ b/.github/workflows/integ-test-inject-gradle-enterprise.yml @@ -21,8 +21,8 @@ env: GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true GRADLE_ENTERPRISE_INJECTION_ENABLED: true GRADLE_ENTERPRISE_URL: https://ge.solutions-team.gradle.com - GRADLE_ENTERPRISE_PLUGIN_VERSION: 3.15.1 - GRADLE_ENTERPRISE_CCUD_PLUGIN_VERSION: 1.12 + GRADLE_ENTERPRISE_PLUGIN_VERSION: 3.16.1 + GRADLE_ENTERPRISE_CCUD_PLUGIN_VERSION: 1.12.1 GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} jobs: diff --git a/README.md b/README.md index a002842..6c2ee5f 100644 --- a/README.md +++ b/README.md @@ -771,7 +771,7 @@ name: Run build with Gradle Enterprise injection env: GRADLE_ENTERPRISE_INJECTION_ENABLED: true GRADLE_ENTERPRISE_URL: https://ge.gradle.org - GRADLE_ENTERPRISE_PLUGIN_VERSION: 3.15.1 + GRADLE_ENTERPRISE_PLUGIN_VERSION: 3.16.1 GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_KEY }} # Required to publish scans to ge.gradle.org jobs: @@ -785,7 +785,7 @@ jobs: run: ./gradlew build ``` -This configuration will automatically apply `v3.15.1` of the [Gradle Enterprise Gradle plugin](https://docs.gradle.com/enterprise/gradle-plugin/), and publish build scans to https://ge.gradle.org. +This configuration will automatically apply `v3.16.1` of the [Gradle Enterprise Gradle plugin](https://docs.gradle.com/enterprise/gradle-plugin/), and publish build scans to https://ge.gradle.org. Note that the `ge.gradle.org` server requires authentication in order to publish scans. The provided `GRADLE_ENTERPRISE_ACCESS_KEY` isn't required by the Gradle Enterprise injection script, but will be used by the GE plugin in order to authenticate with the server. diff --git a/test/init-scripts/settings.gradle b/test/init-scripts/settings.gradle index 706618a..ea9beea 100644 --- a/test/init-scripts/settings.gradle +++ b/test/init-scripts/settings.gradle @@ -1,6 +1,6 @@ plugins { - id "com.gradle.enterprise" version "3.15.1" - id "com.gradle.common-custom-user-data-gradle-plugin" version "1.12" + id "com.gradle.enterprise" version "3.16.1" + id "com.gradle.common-custom-user-data-gradle-plugin" version "1.12.1" } gradleEnterprise { diff --git a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy index bbce290..fabe25e 100644 --- a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy +++ b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy @@ -16,8 +16,8 @@ import java.nio.file.Files import java.util.zip.GZIPOutputStream class BaseInitScriptTest extends Specification { - static final String GE_PLUGIN_VERSION = '3.15.1' - static final String CCUD_PLUGIN_VERSION = '1.12' + static final String GE_PLUGIN_VERSION = '3.16.1' + static final String CCUD_PLUGIN_VERSION = '1.12.1' static final TestGradleVersion GRADLE_3_X = new TestGradleVersion(GradleVersion.version('3.5.1'), 7, 9) static final TestGradleVersion GRADLE_4_X = new TestGradleVersion(GradleVersion.version('4.10.3'), 7, 10) diff --git a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestBuildResultRecorder.groovy b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestBuildResultRecorder.groovy index b26034f..4eedf24 100644 --- a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestBuildResultRecorder.groovy +++ b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/TestBuildResultRecorder.groovy @@ -171,7 +171,7 @@ class TestBuildResultRecorder extends BaseInitScriptTest { when: settingsFile.text = """ plugins { - id 'com.gradle.enterprise' version '3.15.1' apply(false) + id 'com.gradle.enterprise' version '3.16.1' apply(false) } gradle.settingsEvaluated { apply plugin: 'com.gradle.enterprise'