Skip to content

Commit

Permalink
Fix deprecated develocity plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
atick-faisal committed Jul 30, 2024
1 parent 2e046a3 commit 38fdc57
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@
pluginManagement {
includeBuild("build-logic")
repositories {
google()
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
Expand All @@ -32,16 +38,14 @@ dependencyResolutionManagement {
}

plugins {
id("com.gradle.enterprise") version ("3.17.6")
id("com.gradle.develocity") version ("3.17.6")
}

gradleEnterprise {
develocity {
if (System.getenv("CI") != null) {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
server.set("https://develocity-samples.gradle.com")
buildScan.termsOfUseUrl = "https://gradle.com/terms-of-service"
buildScan.termsOfUseAgree = "yes"
}
}

Expand Down

0 comments on commit 38fdc57

Please sign in to comment.