build.gradle.kts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. plugins {
  2. id("otel.java-conventions")
  3. id("otel.publish-conventions")
  4. }
  5. group = "io.opentelemetry.javaagent"
  6. dependencies {
  7. // Only used during compilation by bytebuddy plugin
  8. compileOnly("com.google.guava:guava")
  9. compileOnly("com.google.auto.value:auto-value-annotations")
  10. annotationProcessor("com.google.auto.value:auto-value")
  11. api("net.bytebuddy:byte-buddy")
  12. implementation(project(":javaagent-bootstrap"))
  13. implementation(project(":instrumentation-api"))
  14. implementation(project(":javaagent-instrumentation-api"))
  15. implementation(project(":javaagent-extension-api"))
  16. implementation("org.slf4j:slf4j-api")
  17. // this only exists to make Intellij happy since it doesn't (currently at least) understand our
  18. // inclusion of this artifact inside of :instrumentation-api
  19. compileOnly(project(":instrumentation-api-caching"))
  20. testImplementation(project(":testing-common"))
  21. testImplementation("com.google.guava:guava")
  22. testImplementation("org.assertj:assertj-core:3.19.0")
  23. testImplementation(enforcedPlatform("org.junit:junit-bom:5.7.2"))
  24. testImplementation("org.junit.jupiter:junit-jupiter-api")
  25. testImplementation("org.junit.jupiter:junit-jupiter-params")
  26. testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
  27. }