forked from grails/grails-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
30 lines (27 loc) · 857 Bytes
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
plugins {
id "com.gradle.enterprise" version "3.11.4"
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.8.2'
}
gradleEnterprise {
server = 'https://ge.grails.org'
buildScan {
publishAlwaysIf(System.getenv('CI') == 'true')
publishIfAuthenticated()
uploadInBackground = System.getenv("CI") == null
capture {
taskInputFiles = true
}
}
}
buildCache {
local { enabled = System.getenv('CI') != 'true' }
remote(HttpBuildCache) {
push = System.getenv('CI') == 'true'
enabled = true
url = 'https://ge.grails.org/cache/'
credentials {
username = System.getenv('GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER')
password = System.getenv('GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY')
}
}}
rootProject.name = 'cache'