forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
33 lines (26 loc) · 959 Bytes
/
build.gradle.kts
File metadata and controls
33 lines (26 loc) · 959 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
28
29
30
31
32
33
import io.opentelemetry.gradle.OtelVersionClassPlugin
plugins {
id("otel.java-conventions")
id("otel.publish-conventions")
id("otel.animalsniffer-conventions")
id("otel.jmh-conventions")
}
apply<OtelVersionClassPlugin>()
description = "OpenTelemetry SDK Common"
otelJava.moduleName.set("io.opentelemetry.sdk.common")
dependencies {
api(project(":api:all"))
compileOnly(project(":api:incubator"))
annotationProcessor("com.google.auto.value:auto-value")
testAnnotationProcessor("com.google.auto.value:auto-value")
testImplementation(project(":api:incubator")) // for ExtendedAttributesValueTest
testImplementation(project(":sdk:testing"))
testImplementation("com.google.guava:guava-testlib")
testImplementation("io.opentelemetry.semconv:opentelemetry-semconv-incubating")
}
tasks {
test {
// For checking version number included in Resource.
systemProperty("otel.test.project-version", project.version.toString())
}
}