29 lines
823 B
Groovy
29 lines
823 B
Groovy
plugins {
|
|
id "java"
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation("org.testcontainers:testcontainers:1.19.7")
|
|
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.16.2")
|
|
testImplementation("com.google.protobuf:protobuf-java-util:3.25.3")
|
|
testImplementation("com.squareup.okhttp3:okhttp:4.12.0")
|
|
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.1.0-alpha")
|
|
testImplementation("io.opentelemetry:opentelemetry-api")
|
|
|
|
testImplementation("ch.qos.logback:logback-classic:1.5.3")
|
|
}
|
|
|
|
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()}")
|
|
}
|
|
}
|