Skip to content

Commit 2ca7bd2

Browse files
committed
Update Develocity plugin versions
1 parent 80e3404 commit 2ca7bd2

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
matrix:
2828
java-version: [ 8.0.232 ]
2929
env:
30-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
30+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
3131
steps:
3232
- name: Cache Gradle packages
3333
uses: actions/cache@v2

settings.gradle

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,20 @@
1717
* under the License.
1818
*/
1919
plugins {
20-
id 'com.gradle.enterprise' version '3.13.1'
21-
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10'
20+
id 'com.gradle.develocity' version '3.18.2'
21+
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
2222
}
2323

2424
def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
2525
def isJenkins = System.getenv('JENKINS_URL') != null
2626
def isCI = isGithubActions || isJenkins
2727

28-
gradleEnterprise {
28+
develocity {
2929
server = "https://develocity.apache.org"
30+
projectId = "samza"
3031
buildScan {
31-
capture { taskInputFiles = true }
3232
uploadInBackground = !isCI
33-
publishAlways()
34-
publishIfAuthenticated()
33+
publishing.onlyIf { it.isAuthenticated() }
3534
obfuscation {
3635
// This obfuscates the IP addresses of the build machine in the build scan.
3736
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
@@ -45,7 +44,7 @@ buildCache {
4544
enabled = !isCI
4645
}
4746

48-
remote(gradleEnterprise.buildCache) {
47+
remote(develocity.buildCache) {
4948
enabled = false
5049
}
5150
}

0 commit comments

Comments
 (0)