-
Notifications
You must be signed in to change notification settings - Fork 344
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
59 lines (49 loc) · 1.76 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
59 lines (49 loc) · 1.76 KB
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("me.champeau.jmh")
id("java-library")
}
apply(from = "$rootDir/gradle/java.gradle")
val minimumBranchCoverage by extra(0.6)
val minimumInstructionCoverage by extra(0.8)
val excludedClassesCoverage by extra(
listOf(
"datadog.telemetry.TelemetryRunnable.ThreadSleeperImpl",
"datadog.telemetry.HostInfo",
"datadog.telemetry.HostInfo.Os",
"datadog.telemetry.dependency.LocationsCollectingTransformer",
"datadog.telemetry.dependency.JbossVirtualFileHelper",
"datadog.telemetry.RequestBuilder.NumberJsonAdapter",
"datadog.telemetry.RequestBuilderSupplier",
"datadog.telemetry.TelemetrySystem",
"datadog.telemetry.api.*",
"datadog.telemetry.metric.CiVisibilityMetricPeriodicAction"
)
)
val excludedClassesBranchCoverage by extra(
listOf(
"datadog.telemetry.PolymorphicAdapterFactory.1",
"datadog.telemetry.HostInfo",
"datadog.telemetry.HostInfo.Os"
)
)
val excludedClassesInstructionCoverage by extra(emptyList<String>())
dependencies {
implementation(libs.slf4j)
implementation(project(":internal-api"))
compileOnly(project(":dd-java-agent:agent-tooling"))
testImplementation(project(":dd-java-agent:agent-tooling"))
testImplementation(project(":dd-java-agent:agent-logging"))
compileOnly(project(":communication"))
testImplementation(project(":communication"))
compileOnly(project(":utils:container-utils"))
testImplementation(project(":utils:container-utils"))
api(libs.okhttp)
api(libs.moshi)
testImplementation(project(":utils:test-utils"))
testImplementation(group = "org.hamcrest", name = "hamcrest", version = "2.2")
testImplementation(group = "org.jboss", name = "jboss-vfs", version = "3.2.16.Final")
}
jmh {
jmhVersion = "1.28"
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
}