From 195c67f9313edb2d5608a623d43e5e82d2c5e6a7 Mon Sep 17 00:00:00 2001 From: daz Date: Wed, 3 Apr 2024 14:51:01 -0600 Subject: [PATCH] Use Develocity plugin v3.17 for build-scan-publish --- setup-gradle/README.md | 4 ++-- sources/src/build-scan.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup-gradle/README.md b/setup-gradle/README.md index a9701ab..88cc51f 100644 --- a/setup-gradle/README.md +++ b/setup-gradle/README.md @@ -647,7 +647,7 @@ name: Run build with Develocity injection env: DEVELOCITY_INJECTION_ENABLED: true DEVELOCITY_URL: https://develocity.your-server.com - DEVELOCITY_PLUGIN_VERSION: 3.16.2 + DEVELOCITY_PLUGIN_VERSION: 3.17 jobs: build: @@ -660,7 +660,7 @@ jobs: run: ./gradlew build ``` -This configuration will automatically apply `v3.16.2` of the [Develocity Gradle plugin](https://docs.gradle.com/enterprise/gradle-plugin/), and publish build scans to https://develocity.your-server.com. +This configuration will automatically apply `v3.17` of the [Develocity Gradle plugin](https://docs.gradle.com/enterprise/gradle-plugin/), and publish build scans to https://develocity.your-server.com. This example assumes that the `develocity.your-server.com` server allows anonymous publishing of build scans. In the likely scenario that your Develocity server requires authentication, you will also need to configure an additional environment variable diff --git a/sources/src/build-scan.ts b/sources/src/build-scan.ts index 9ad518c..2115e78 100644 --- a/sources/src/build-scan.ts +++ b/sources/src/build-scan.ts @@ -6,7 +6,7 @@ export function setup(): void { maybeExportVariable('DEVELOCITY_AUTO_INJECTION_CUSTOM_VALUE', 'gradle-actions') if (getBuildScanPublishEnabled() && verifyTermsOfUseAgreement()) { maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true') - maybeExportVariable('DEVELOCITY_PLUGIN_VERSION', '3.16.2') + maybeExportVariable('DEVELOCITY_PLUGIN_VERSION', '3.17') maybeExportVariable('DEVELOCITY_CCUD_PLUGIN_VERSION', '1.13') maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', getBuildScanTermsOfUseUrl()) maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', getBuildScanTermsOfUseAgree())