-
Notifications
You must be signed in to change notification settings - Fork 957
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
40 lines (29 loc) · 960 Bytes
/
build.gradle.kts
File metadata and controls
40 lines (29 loc) · 960 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
34
35
36
37
38
39
40
plugins {
id("otel.java-conventions")
id("com.gradleup.shadow")
}
description = "OpenTelemetry W3C Context Propagation Integration Tests"
otelJava.moduleName.set("io.opentelemetry.tracecontext.integration.tests")
dependencies {
implementation(project(":sdk:all"))
implementation(project(":extensions:trace-propagators"))
compileOnly("com.google.errorprone:error_prone_annotations")
implementation("com.linecorp.armeria:armeria")
testImplementation("org.testcontainers:testcontainers-junit-jupiter")
}
tasks {
val shadowJar by existing(Jar::class) {
archiveFileName.set("tracecontext-tests.jar")
manifest {
attributes("Main-Class" to "io.opentelemetry.Application")
}
}
withType(Test::class) {
dependsOn(shadowJar)
jvmArgs("-Dio.opentelemetry.testArchive=${shadowJar.get().archiveFile.get().asFile.absolutePath}")
}
}
// Skip OWASP dependencyCheck task on test module
dependencyCheck {
skip = true
}