29 lines
850 B
Groovy
29 lines
850 B
Groovy
plugins {
|
|
id "java"
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation("org.testcontainers:testcontainers:1.18.0")
|
|
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
|
|
testImplementation("com.google.protobuf:protobuf-java-util:3.22.3")
|
|
testImplementation("com.squareup.okhttp3:okhttp:4.11.0")
|
|
testImplementation("io.opentelemetry.proto:opentelemetry-proto:0.19.0-alpha")
|
|
testImplementation("io.opentelemetry:opentelemetry-api:${versions.opentelemetry}")
|
|
|
|
testImplementation("ch.qos.logback:logback-classic:1.4.7")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
|
|
testLogging.showStandardStreams = true
|
|
|
|
def shadowTask = project(":agent").tasks.shadowJar
|
|
dependsOn(shadowTask)
|
|
inputs.files(layout.files(shadowTask))
|
|
|
|
doFirst {
|
|
jvmArgs("-Dio.opentelemetry.smoketest.agent.shadowJar.path=${shadowTask.archiveFile.get()}")
|
|
}
|
|
}
|