File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 11plugins {
2- id(" com.gradle.enterprise " ) version " 3.17.4"
2+ id(" com.gradle.develocity " ) version " 3.17.4"
33}
44
55dependencyResolutionManagement {
@@ -8,13 +8,14 @@ dependencyResolutionManagement {
88
99rootProject.name = " java-module-testing"
1010
11- gradleEnterprise {
12- val runsOnCI = providers.environmentVariable(" CI" ).getOrElse(" false" ).toBoolean()
13- if (runsOnCI) {
14- buildScan {
15- publishAlways()
16- termsOfServiceUrl = " https://gradle.com/terms-of-service"
17- termsOfServiceAgree = " yes"
11+ develocity {
12+ buildScan {
13+ val isCi = providers.environmentVariable(" CI" ).getOrElse(" false" ).toBoolean()
14+ if (isCi) {
15+ termsOfUseUrl = " https://gradle.com/help/legal-terms-of-use"
16+ termsOfUseAgree = " yes"
17+ } else {
18+ publishing.onlyIf { false }
1819 }
1920 }
2021}
You can’t perform that action at this time.
0 commit comments