summaryrefslogtreecommitdiff
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-04-03 11:23:56 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-04-03 11:23:56 +0530
commit242ace9b2801d914fb94a50465c5a7e9e74a1480 (patch)
treeccf28df7ef5b424b449d72a3605c630c42f0636b /settings.gradle.kts
parentaab675901f63fef7847cda30aae94aa91f2d6093 (diff)
fix(deps): migrate away from deprecated Gradle Enterprise plugin
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts14
1 files changed, 7 insertions, 7 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index e006047a..0ae203c3 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -20,8 +20,8 @@ pluginManagement {
exclusiveContent {
forRepository { gradlePluginPortal() }
filter {
- includeModule("com.gradle", "gradle-enterprise-gradle-plugin")
- includeModule("com.gradle.enterprise", "com.gradle.enterprise.gradle.plugin")
+ includeModule("com.gradle", "develocity-gradle-plugin")
+ includeModule("com.gradle.develocity", "com.gradle.develocity.gradle.plugin")
includeModule("me.tylerbwong.gradle.metalava", "plugin")
includeModule(
"org.gradle.toolchains.foojay-resolver-convention",
@@ -40,14 +40,14 @@ pluginManagement {
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
- id("com.gradle.enterprise") version "3.16.2"
+ id("com.gradle.develocity") version "3.17"
}
-gradleEnterprise {
+develocity {
buildScan {
- termsOfServiceUrl = "https://gradle.com/terms-of-service"
- termsOfServiceAgree = if (System.getenv("GITHUB_WORKFLOW").isNullOrEmpty()) "no" else "yes"
- publishOnFailureIf(!System.getenv("GITHUB_WORKFLOW").isNullOrEmpty())
+ termsOfUseUrl = "https://gradle.com/legal/terms-of-use/"
+ termsOfUseAgree = if (System.getenv("GITHUB_WORKFLOW").isNullOrEmpty()) "no" else "yes"
+ publishing.onlyIf { !System.getenv("GITHUB_WORKFLOW").isNullOrEmpty() }
}
}