plugins { id "java" } dependencies { testImplementation("org.testcontainers:testcontainers:1.16.2") testImplementation("com.fasterxml.jackson.core:jackson-databind:2.11.2") testImplementation("com.google.protobuf:protobuf-java-util:3.12.4") testImplementation("com.squareup.okhttp3:okhttp:3.12.12") testImplementation("io.opentelemetry.proto:opentelemetry-proto:0.16.0-alpha") testImplementation("io.opentelemetry:opentelemetry-api:1.6.0") testImplementation("ch.qos.logback:logback-classic:1.2.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()}") } }