File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
pluginManagement {
2
2
includeBuild(" gradle/build-logic" )
3
- repositories {
3
+ repositories {
4
4
mavenCentral()
5
5
gradlePluginPortal()
6
6
}
7
7
}
8
8
9
- plugins {
9
+ plugins {
10
10
id(" myRepos" )
11
11
id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.8.0"
12
- id(" com.gradle.enterprise " ) version " 3.17"
12
+ id(" com.gradle.develocity " ) version " 3.17.2 "
13
13
}
14
14
15
- gradleEnterprise {
15
+ develocity {
16
16
buildScan {
17
- termsOfServiceUrl = " https://gradle.com/terms-of-service "
18
- termsOfServiceAgree = " yes"
19
- if ( System .getenv (" CI" ) != null ) {
20
- publishAlways()
21
- tag( " CI " )
17
+ termsOfUseUrl.set( " https://gradle.com/help/legal- terms-of-use " )
18
+ termsOfUseAgree.set( " yes" )
19
+ val isCI = providers.environmentVariable (" CI" ).isPresent
20
+ publishing {
21
+ onlyIf { isCI }
22
22
}
23
+ tag(" CI" )
23
24
}
24
25
}
25
26
You can’t perform that action at this time.
0 commit comments