-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
settings.gradle.kts
59 lines (50 loc) · 1.33 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
plugins {
id("com.gradle.develocity") version "3.19"
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.0.2"
}
rootProject.name = "open-test-reporting"
dependencyResolutionManagement {
repositories {
mavenCentral()
maven(url = "https://oss.sonatype.org/content/repositories/snapshots") {
mavenContent {
snapshotsOnly()
includeGroupAndSubgroups("org.junit")
}
}
}
}
val isCiServer = System.getenv("CI") != null
develocity {
buildScan {
server = "https://ge.junit.org"
uploadInBackground = !isCiServer
obfuscation {
if (isCiServer) {
username { "github" }
} else {
hostname { null }
ipAddresses { emptyList() }
}
}
publishing.onlyIf { it.isAuthenticated }
}
}
buildCache {
local {
isEnabled = !isCiServer
}
remote(develocity.buildCache) {
val authenticated = System.getenv("DEVELOCITY_ACCESS_KEY") != null
isPush = isCiServer && authenticated
}
}
include("cli")
include("documentation")
include("events")
include("html-report")
include("sample-project")
include("schema")
include("tooling-core")
include("tooling-spi")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")