build.gradle.kts 762 B

1234567891011121314151617181920212223
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. dependencies {
  5. implementation(project(":instrumentation:kafka:kafka-clients:kafka-clients-common:library"))
  6. library("org.apache.kafka:kafka-clients:2.6.0")
  7. testImplementation(project(":instrumentation:kafka:kafka-clients:kafka-clients-0.11:testing"))
  8. testImplementation("com.fasterxml.jackson.core:jackson-databind:2.10.2")
  9. testImplementation("org.testcontainers:kafka")
  10. testImplementation("org.testcontainers:junit-jupiter")
  11. testCompileOnly("com.google.auto.value:auto-value-annotations")
  12. testAnnotationProcessor("com.google.auto.value:auto-value")
  13. }
  14. tasks {
  15. withType<Test>().configureEach {
  16. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
  17. }
  18. }