Skip to content

Commit

Permalink
Update Develocity plugin versions
Browse files Browse the repository at this point in the history
  • Loading branch information
clayburn committed Jan 14, 2025
1 parent 2e45e79 commit 65b3154
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- 'branch_10x'

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

# We split the workflow into two parallel jobs for efficiency:
# one is running all validation checks without tests,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-gradle-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- 'gradle/wrapper/**'

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

jobs:
gradleSanityCheck:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-mod-analysis-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- 'lucene/analysis/common/**'

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-checks-mod-distribution.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- 'branch_10x'

env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

jobs:
test:
Expand Down
10 changes: 5 additions & 5 deletions gradle/ge.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

def isCIBuild = System.getenv().keySet().find { it ==~ /(?i)((JENKINS|HUDSON)(_\w+)?|CI)/ } != null

gradleEnterprise {
develocity {
server = "https://develocity.apache.org"
projectId = "lucene"

buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCIBuild
publishAlways()
publishIfAuthenticated()
publishing.onlyIf { it.isAuthenticated() }
obfuscation {
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
Expand All @@ -35,7 +35,7 @@ buildCache {
enabled = !isCIBuild
}

remote(gradleEnterprise.buildCache) {
remote(develocity.buildCache) {
enabled = false
}
}
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ pluginManagement {

plugins {
id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0"
id 'com.gradle.enterprise' version '3.15.1'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11.3'
id 'com.gradle.develocity' version '3.18.2'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
}

dependencyResolutionManagement {
Expand Down

0 comments on commit 65b3154

Please sign in to comment.