File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,22 @@ buildscript {
20
20
}
21
21
22
22
plugins {
23
- id ' com.gradle.build-scan' version ' 2.3'
24
23
id ' java'
25
- id ' com.github.johnrengelman.shadow ' version ' 5.0.0 ' apply false
24
+ id ' com.gradle.build-scan ' version ' 2.3 '
26
25
id " io.freefair.javadoc-links" version " 3.2.1" apply false
27
- }
28
-
29
- buildScan {
30
- termsOfServiceUrl = ' https://gradle.com/terms-of-service'
31
- apply from : ' gradle/build-scans.gradle'
26
+ id ' com.github.johnrengelman.shadow' version ' 5.0.0' apply false
32
27
}
33
28
34
29
defaultTasks ' clean' , ' build' , ' shadowJar' , ' install'
35
30
31
+ def env = System . getenv()
32
+ if (env. CI || env. TRAVIS ) {
33
+ buildScan {
34
+ termsOfServiceUrl = ' https://gradle.com/terms-of-service'
35
+ apply from : ' gradle/build-scans.gradle'
36
+ }
37
+ }
38
+
36
39
def sbeGroup = ' uk.co.real-logic'
37
40
def sbeVersion = file(' version.txt' ). text. trim()
38
41
def sbeJavaVersion = JavaVersion . VERSION_1_8
You can’t perform that action at this time.
0 commit comments