Browse Source
Also use the "io.spring.gradle-enterprise-conventions" plugin for configuring Gradle Enterprise Cache support.pull/25006/head
Brian Clozel
5 years ago
3 changed files with 2 additions and 22 deletions
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
apply from: "../gradle/build-cache-settings.gradle" |
@ -1,18 +0,0 @@
@@ -1,18 +0,0 @@
|
||||
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 |
||||
} |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue