forked from open-telemetry/opentelemetry-java-contrib
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
27 lines (24 loc) · 832 Bytes
/
build.gradle.kts
File metadata and controls
27 lines (24 loc) · 832 Bytes
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
plugins {
id("otel.java-conventions")
id("otel.publish-conventions")
}
description = "Sampler and exporter implementations for consistent sampling"
otelJava.moduleName.set("io.opentelemetry.contrib.sampler")
dependencies {
annotationProcessor("com.google.auto.service:auto-service")
compileOnly("com.google.auto.service:auto-service-annotations")
api("io.opentelemetry:opentelemetry-sdk-trace")
api("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi")
testImplementation("org.hipparchus:hipparchus-core:4.0.1")
testImplementation("org.hipparchus:hipparchus-stat:4.0.1")
}
tasks {
withType<Test>().configureEach {
develocity.testRetry {
// TODO (trask) fix flaky tests and remove this workaround
if (System.getenv().containsKey("CI")) {
maxRetries.set(5)
}
}
}
}