mirror of
https://github.com/gradle/actions
synced 2024-11-27 11:52:24 +00:00
Bump references to Develocity Gradle plugin from 3.17.6 to 3.18
This commit is contained in:
parent
ca7f3fa2f5
commit
089bfb1063
11 changed files with 16 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id "com.gradle.develocity" version "3.17.6"
|
||||
id "com.gradle.develocity" version "3.18"
|
||||
id "com.gradle.common-custom-user-data-gradle-plugin" version "2.0.1"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id("com.gradle.develocity") version "3.17.6"
|
||||
id("com.gradle.develocity") version "3.18"
|
||||
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0.1"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id "com.gradle.develocity" version "3.17.6"
|
||||
id "com.gradle.develocity" version "3.18"
|
||||
}
|
||||
|
||||
develocity {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id "com.gradle.develocity" version "3.17.6"
|
||||
id "com.gradle.develocity" version "3.18"
|
||||
}
|
||||
|
||||
develocity {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id "com.gradle.develocity" version "3.17.6"
|
||||
id "com.gradle.develocity" version "3.18"
|
||||
}
|
||||
|
||||
develocity {
|
||||
|
|
|
@ -33,11 +33,11 @@ jobs:
|
|||
matrix:
|
||||
gradle: [current, 7.6.2, 6.9.4, 5.6.4]
|
||||
os: ${{fromJSON(inputs.runner-os)}}
|
||||
plugin-version: [3.16.2, 3.17.6]
|
||||
plugin-version: [3.16.2, 3.18]
|
||||
include:
|
||||
- plugin-version: 3.16.2
|
||||
accessKeyEnv: GRADLE_ENTERPRISE_ACCESS_KEY
|
||||
- plugin-version: 3.17.6
|
||||
- plugin-version: 3.18
|
||||
accessKeyEnv: DEVELOCITY_ACCESS_KEY
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
@ -84,7 +84,7 @@ jobs:
|
|||
matrix:
|
||||
gradle: [current, 7.6.2, 6.9.4, 5.6.4]
|
||||
os: ${{fromJSON(inputs.runner-os)}}
|
||||
plugin-version: [3.16.2, 3.17.6]
|
||||
plugin-version: [3.16.2, 3.18]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
|
@ -133,7 +133,7 @@ jobs:
|
|||
matrix:
|
||||
gradle: [ current, 7.6.2, 6.9.4, 5.6.4 ]
|
||||
os: ${{fromJSON(inputs.runner-os)}}
|
||||
plugin-version: [ 3.16.2, 3.17.6 ]
|
||||
plugin-version: [ 3.16.2, 3.18 ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
|
@ -169,7 +169,7 @@ jobs:
|
|||
matrix:
|
||||
gradle: [ current, 7.6.2, 6.9.4, 5.6.4 ]
|
||||
os: ${{fromJSON(inputs.runner-os)}}
|
||||
plugin-version: [ 3.16.2, 3.17.6 ]
|
||||
plugin-version: [ 3.16.2, 3.18 ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
|
|
|
@ -749,7 +749,7 @@ Here's a minimal example:
|
|||
run: ./gradlew build
|
||||
```
|
||||
|
||||
This configuration will automatically apply `v3.17.6` of the [Develocity Gradle plugin](https://docs.gradle.com/develocity/gradle-plugin/), and publish build scans to https://develocity.your-server.com.
|
||||
This configuration will automatically apply `v3.18` of the [Develocity Gradle plugin](https://docs.gradle.com/develocity/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 pass a valid [Develocity access key](https://docs.gradle.com/develocity/gradle-plugin/#via_environment_variable) taken from a secret:
|
||||
|
@ -821,7 +821,7 @@ Here's an example using the env vars:
|
|||
env:
|
||||
DEVELOCITY_INJECTION_ENABLED: true
|
||||
DEVELOCITY_URL: https://develocity.your-server.com
|
||||
DEVELOCITY_PLUGIN_VERSION: 3.17.6
|
||||
DEVELOCITY_PLUGIN_VERSION: 3.18
|
||||
```
|
||||
|
||||
## Publishing to scans.gradle.com
|
||||
|
|
|
@ -7,7 +7,7 @@ export async function setup(config: BuildScanConfig): Promise<void> {
|
|||
maybeExportVariable('DEVELOCITY_AUTO_INJECTION_CUSTOM_VALUE', 'gradle-actions')
|
||||
if (config.getBuildScanPublishEnabled()) {
|
||||
maybeExportVariable('DEVELOCITY_INJECTION_ENABLED', 'true')
|
||||
maybeExportVariable('DEVELOCITY_PLUGIN_VERSION', '3.17.6')
|
||||
maybeExportVariable('DEVELOCITY_PLUGIN_VERSION', '3.18')
|
||||
maybeExportVariable('DEVELOCITY_CCUD_PLUGIN_VERSION', '2.0')
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_URL', config.getBuildScanTermsOfUseUrl())
|
||||
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree())
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
plugins {
|
||||
id "com.gradle.develocity" version "3.17.6"
|
||||
id "com.gradle.develocity" version "3.18"
|
||||
id "com.gradle.common-custom-user-data-gradle-plugin" version "2.0.1"
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import java.nio.file.Files
|
|||
import java.util.zip.GZIPOutputStream
|
||||
|
||||
class BaseInitScriptTest extends Specification {
|
||||
static final String DEVELOCITY_PLUGIN_VERSION = '3.17.6'
|
||||
static final String DEVELOCITY_PLUGIN_VERSION = '3.18'
|
||||
static final String CCUD_PLUGIN_VERSION = '2.0.1'
|
||||
|
||||
static final TestGradleVersion GRADLE_3_X = new TestGradleVersion(GradleVersion.version('3.5.1'), 7, 9)
|
||||
|
|
|
@ -196,7 +196,7 @@ class TestBuildResultRecorder extends BaseInitScriptTest {
|
|||
when:
|
||||
settingsFile.text = """
|
||||
plugins {
|
||||
id 'com.gradle.develocity' version '3.17.6' apply(false)
|
||||
id 'com.gradle.develocity' version '3.18' apply(false)
|
||||
}
|
||||
gradle.settingsEvaluated {
|
||||
apply plugin: 'com.gradle.develocity'
|
||||
|
|
Loading…
Reference in a new issue