-
Notifications
You must be signed in to change notification settings - Fork 119
/
settings.gradle.kts
68 lines (60 loc) · 1.58 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
60
61
62
63
64
65
66
67
68
import java.io.ByteArrayOutputStream
import org.gradle.kotlin.dsl.support.serviceOf
rootProject.name = "flank"
includeBuild("maven_version_check")
include(
":test_runner",
":firebase_apis:test_api",
":flank-scripts",
":integration_tests",
"samples:gradle-export-api",
"test_projects:android",
":common",
":flank_wrapper",
":corellium:cli",
":corellium:domain",
":corellium:api",
":corellium:adapter",
":corellium:client",
":corellium:sandbox",
":tool:apk",
":tool:config",
":tool:filter",
":tool:shard",
":tool:shard:calculate",
":tool:shard:obfuscate",
":tool:shard:dump",
":tool:instrument:command",
":tool:instrument:log",
":tool:junit",
":tool:log",
":tool:log:format",
":tool:execution:parallel",
":tool:execution:synchronized",
":tool:analytics",
":tool:analytics:mixpanel",
":tool:execution:linear",
)
plugins {
id("com.gradle.enterprise") version "3.5"
}
@Suppress("UnstableApiUsage")
val isCI: Boolean = serviceOf<ProviderFactory>()
.environmentVariable("CI")
.forUseAtConfigurationTime().map { it == "true" }
.getOrElse(false)
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(isCI)
background {
val os = ByteArrayOutputStream()
exec {
commandLine("git", "rev-parse", "--verify", "HEAD")
standardOutput = os
}
value("Git Commit ID", os.toString())
}
}
}