forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
31 lines (25 loc) · 887 Bytes
/
build.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
plugins {
id("otel.java-conventions")
id("otel.publish-conventions")
}
description = "OpenTelemetry OpenCensus Shim"
otelJava.moduleName.set("io.opentelemetry.opencensusshim")
dependencies {
api(project(":api:all"))
api(project(":extensions:trace-propagators"))
api(project(":sdk:all"))
api(project(":sdk:metrics"))
api("io.opencensus:opencensus-api")
api("io.opencensus:opencensus-impl-core")
api("io.opencensus:opencensus-exporter-metrics-util")
testImplementation(project(":sdk:all"))
testImplementation(project(":sdk:metrics-testing"))
testImplementation("io.opencensus:opencensus-impl")
testImplementation("io.opencensus:opencensus-contrib-exemplar-util")
}
tasks.named<Test>("test") {
// We must force a fork per-test class because OpenCensus pollutes globals with no restorative
// methods available.
setForkEvery(1)
maxParallelForks = 3
}