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 {
2020}
2121
2222plugins {
23- id ' com.gradle.build-scan' version ' 2.3'
2423 id ' java'
25- id ' com.github.johnrengelman.shadow ' version ' 5.0.0 ' apply false
24+ id ' com.gradle.build-scan ' version ' 2.3 '
2625 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
3227}
3328
3429defaultTasks ' clean' , ' build' , ' shadowJar' , ' install'
3530
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+
3639def sbeGroup = ' uk.co.real-logic'
3740def sbeVersion = file(' version.txt' ). text. trim()
3841def sbeJavaVersion = JavaVersion . VERSION_1_8
You can’t perform that action at this time.
0 commit comments