forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
49 lines (36 loc) · 1.32 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
plugins {
id("otel.java-conventions")
id("otel.publish-conventions")
id("otel.animalsniffer-conventions")
id("com.squareup.wire")
}
description = "OpenTelemetry - Jaeger Exporter"
otelJava.moduleName.set("io.opentelemetry.exporter.jaeger")
dependencies {
api(project(":sdk:all"))
protoSource(project(":exporters:jaeger-proto"))
implementation(project(":exporters:common"))
implementation(project(":semconv"))
implementation(project(":sdk-extensions:autoconfigure-spi"))
compileOnly("io.grpc:grpc-stub")
implementation("com.squareup.okhttp3:okhttp")
implementation("com.fasterxml.jackson.jr:jackson-jr-objects")
testImplementation(project(":exporters:jaeger-proto"))
testImplementation("com.fasterxml.jackson.jr:jackson-jr-stree")
testImplementation("com.google.protobuf:protobuf-java-util")
testImplementation("com.linecorp.armeria:armeria-junit5")
testImplementation("com.linecorp.armeria:armeria-grpc-protocol")
testImplementation("com.squareup.okhttp3:okhttp")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation(project(":sdk:testing"))
}
wire {
custom {
schemaHandlerFactoryClass = "io.opentelemetry.gradle.ProtoFieldsWireHandlerFactory"
}
}
afterEvaluate {
tasks.getByName("generateMainProtos") {
setDependsOn(configurations.getByName("protoPath"))
}
}