Skip to content

Commit

Permalink
Enable build scan publishing on CI
Browse files Browse the repository at this point in the history
Easier to view test reports and track deprecations.
  • Loading branch information
Goooler authored and egorikftp committed Jul 28, 2024
1 parent a40f750 commit 7e761ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ pluginManagement {
}
}

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

develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
// TODO: workaround for https://github.com/gradle/gradle/issues/22879.
val isCI = providers.environmentVariable("CI").isPresent
publishing.onlyIf { isCI }
}
}

dependencyResolutionManagement {
repositories {
google {
Expand Down

0 comments on commit 7e761ca

Please sign in to comment.