mirror of https://github.com/apache/kafka.git
KAFKA-17352 Migrate from Gradle Enterprise Gradle Plugin to Develocity Gradle Plugin (#16902)
Reviewers: David Arthur <mumrah@gmail.com>
This commit is contained in:
parent
20c3e7324b
commit
2a6f449af7
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue