-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
40 lines (31 loc) · 979 Bytes
/
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
@file:Suppress("PropertyName")
plugins {
id("com.gradle.enterprise") version "3.2.1"
}
val VERSION: String by extra.properties
gradleEnterprise {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
tag(if (System.getenv("CI").isNullOrBlank()) "Local" else "CI")
tag(VERSION)
val githubActionID = System.getenv("GITHUB_ACTION")
if (!githubActionID.isNullOrBlank()) {
link(
"WorkflowURL",
"https://github.com/" +
System.getenv("GITHUB_REPOSITORY") +
"/pull/" +
System.getenv("PR_NUMBER") +
"/checks?check_run_id=" +
System.getenv("GITHUB_RUN_ID")
)
}
}
}
rootProject.name = "dependency-analysis-gradle-plugin"
include(":antlr")
include(":testkit")
// https://docs.gradle.org/5.6/userguide/groovy_plugin.html#sec:groovy_compilation_avoidance
enableFeaturePreview("GROOVY_COMPILATION_AVOIDANCE")