forked from gradle/common-custom-user-data-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
35 lines (30 loc) · 1005 Bytes
/
settings.gradle
File metadata and controls
35 lines (30 loc) · 1005 Bytes
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
plugins {
id 'com.gradle.enterprise' version '3.16'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.12.1'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
}
def isCI = System.getenv('GITHUB_ACTIONS') != null
gradleEnterprise {
server = "https://ge.solutions-team.gradle.com"
buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCI
publishAlways()
publishIfAuthenticated()
obfuscation {
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
}
}
buildCache {
local {
enabled = true
}
remote(gradleEnterprise.buildCache) {
enabled = true
// Check access key presence to avoid build cache errors on PR builds when access key is not present
def accessKey = System.getenv("GRADLE_ENTERPRISE_ACCESS_KEY")
push = isCI && accessKey
}
}
rootProject.name = 'common-custom-user-data-gradle-plugin'