KAFKA-17352 Migrate from Gradle Enterprise Gradle Plugin to Develocity Gradle Plugin (#16902)

Reviewers: David Arthur <mumrah@gmail.com>
This commit is contained in:
Clay Johnson 2024-08-16 16:34:26 -05:00 committed by GitHub
parent 20c3e7324b
commit 2a6f449af7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 7 deletions

View File

@ -14,21 +14,20 @@
// limitations under the License.
plugins {
id 'com.gradle.enterprise' version '3.14.1'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11.1'
id 'com.gradle.develocity' version '3.17.6'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
}
def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
def isJenkins = System.getenv('JENKINS_URL') != null
def isCI = isGithubActions || isJenkins
gradleEnterprise {
develocity {
server = "https://ge.apache.org"
projectId = "kafka"
buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCI
publishAlways()
publishIfAuthenticated()
publishing.onlyIf { it.authenticated }
obfuscation {
// This obfuscates the IP addresses of the build machine in the build scan.
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
@ -42,7 +41,7 @@ buildCache {
enabled = !isCI
}
remote(gradleEnterprise.buildCache) {
remote(develocity.buildCache) {
enabled = false
}
}