Gradle Enterprise exp5
This commit is contained in:
parent
572171e27f
commit
95e98c8804
|
@ -33,9 +33,17 @@ if ( !JavaVersion.current().java11Compatible ) {
|
|||
buildCache {
|
||||
// duplicated from `gradle-enterprise.gradle` but not sure how to share it...
|
||||
def isCi = System.getenv("CI") != null || System.getProperty("CI") != null
|
||||
def populateRemote = System.getenv("POPULATE_REMOTE") != null || System.getProperty("POPULATE_REMOTE") != null
|
||||
|
||||
local { enabled = !isCi }
|
||||
remote(HttpBuildCache) { enabled = false }
|
||||
local {
|
||||
// do not use local build cache for CI jobs, period!
|
||||
enabled = !isCi
|
||||
}
|
||||
remote(HttpBuildCache) {
|
||||
enabled = true
|
||||
push = populateRemote
|
||||
url = 'https://ge.hibernate.org/cache/'
|
||||
}
|
||||
}
|
||||
|
||||
gradle.ext.baselineJavaVersion = JavaLanguageVersion.of( 11 )
|
||||
|
|
Loading…
Reference in New Issue