You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
411 B
Groovy
19 lines
411 B
Groovy
5 years ago
|
buildCache {
|
||
|
local {
|
||
|
enabled = true
|
||
|
}
|
||
|
remote(HttpBuildCache) {
|
||
|
enabled = true
|
||
|
url = 'https://ge.spring.io/cache/'
|
||
|
def cacheUsername = System.getenv('GRADLE_ENTERPRISE_CACHE_USERNAME')
|
||
|
def cachePassword = System.getenv('GRADLE_ENTERPRISE_CACHE_PASSWORD')
|
||
|
if (cacheUsername && cachePassword) {
|
||
|
push = true
|
||
|
credentials {
|
||
|
username = cacheUsername
|
||
|
password = cachePassword
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|