build.gradle 823 B

12345678910111213141516171819202122232425262728
  1. plugins {
  2. id "java"
  3. }
  4. dependencies {
  5. testImplementation("org.testcontainers:testcontainers:1.19.8")
  6. testImplementation("com.fasterxml.jackson.core:jackson-databind:2.17.1")
  7. testImplementation("com.google.protobuf:protobuf-java-util:3.25.3")
  8. testImplementation("com.squareup.okhttp3:okhttp:4.12.0")
  9. testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.3.1-alpha")
  10. testImplementation("io.opentelemetry:opentelemetry-api")
  11. testImplementation("ch.qos.logback:logback-classic:1.5.6")
  12. }
  13. tasks.test {
  14. useJUnitPlatform()
  15. testLogging.showStandardStreams = true
  16. def shadowTask = project(":agent").tasks.shadowJar
  17. dependsOn(shadowTask)
  18. inputs.files(layout.files(shadowTask))
  19. doFirst {
  20. jvmArgs("-Dio.opentelemetry.smoketest.agent.shadowJar.path=${shadowTask.archiveFile.get()}")
  21. }
  22. }