Skip to content

Commit

Permalink
Migrate to Devolocity plugin (#1990)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton authored Apr 26, 2024
1 parent 8f07312 commit e7b42bd
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pluginManagement {
}

plugins {
id "com.gradle.enterprise" version "3.17.2"
id "com.gradle.develocity" version "3.17.2"
id 'app.cash.redwood.settings'
}

Expand All @@ -20,13 +20,14 @@ dependencyResolutionManagement {
}
}

gradleEnterprise {
develocity {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
if (System.getenv("CI")) {
publishAlways()
tag "CI"
termsOfUseUrl = 'https://gradle.com/help/legal-terms-of-use'
termsOfUseAgree = 'yes'
if (System.getenv('CI') == 'true') {
tag 'CI'
} else {
publishing.onlyIf { false }
}
}
}
Expand Down

0 comments on commit e7b42bd

Please sign in to comment.