forked from ben-manes/caffeine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
51 lines (44 loc) · 1.18 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
plugins {
id 'com.gradle.enterprise' version '3.10.2'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.7.2'
}
gradleEnterprise {
if (!gradle.startParameter.isBuildScan()) {
server = 'https://caffeine.gradle-enterprise.cloud/'
buildScan.publishIfAuthenticated()
}
buildScan {
capture.taskInputFiles = true
publishAlways()
if (System.env.'CI') {
uploadInBackground = false
} else {
obfuscation.ipAddresses { [] }
}
if (System.env.'GITHUB_ACTIONS') {
obfuscation.username { 'github' }
}
termsOfServiceAgree = 'yes'
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
}
}
def gradleEnterpriseCachePassword = properties.'gradleEnterpriseCachePassword'
buildCache {
remote(HttpBuildCache) {
url = 'https://caffeine.gradle-enterprise.cloud/cache/'
push = System.env.'CI'
enabled = true
credentials {
username = 'ci'
password = gradleEnterpriseCachePassword ?: System.env.'GRADLE_ENTERPRISE_CACHE_PASSWORD'
}
}
}
dependencyResolutionManagement.repositories {
mavenCentral()
}
rootProject.name = 'caffeine'
include 'caffeine'
include 'guava'
include 'jcache'
include 'simulator'