-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
42 lines (34 loc) · 1.27 KB
/
settings.gradle.kts
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
import com.gradle.enterprise.gradleplugin.internal.extension.BuildScanExtensionWithHiddenFeatures
plugins {
id("com.gradle.enterprise") version "3.14"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.11.1"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0"
}
val isCI = System.getenv("GITHUB_ACTIONS") != null
gradleEnterprise {
server = "https://ge.solutions-team.gradle.com"
buildScan {
capture { isTaskInputFiles = true }
isUploadInBackground = !isCI
publishAlways()
this as BuildScanExtensionWithHiddenFeatures
publishIfAuthenticated()
obfuscation {
ipAddresses { addresses -> addresses.map { "0.0.0.0" } }
}
}
}
buildCache {
local {
isEnabled = true
}
remote(gradleEnterprise.buildCache) {
isEnabled = true
isPush = isCI
}
}
rootProject.name = "build-validation-scripts"
include("components/configure-gradle-enterprise-maven-extension")
include("components/fetch-build-scan-data-cmdline-tool")
project(":components/configure-gradle-enterprise-maven-extension").name = "configure-gradle-enterprise-maven-extension"
project(":components/fetch-build-scan-data-cmdline-tool").name = "fetch-build-scan-data-cmdline-tool"