build.gradle.kts 714 B

123456789101112131415161718192021
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. dependencies {
  5. // we compile against 3.4.0, so we could use reactor.util.context.ContextView
  6. // instrumentation is expected it to work with 3.1.0.RELEASE
  7. compileOnly("io.projectreactor:reactor-core:3.4.0")
  8. compileOnly(project(":muzzle")) // For @NoMuzzle
  9. implementation(project(":instrumentation-annotations-support"))
  10. testLibrary("io.projectreactor:reactor-core:3.1.0.RELEASE")
  11. testLibrary("io.projectreactor:reactor-test:3.1.0.RELEASE")
  12. testImplementation(project(":instrumentation:reactor:reactor-3.1:testing"))
  13. }
  14. tasks {
  15. withType<Test>().configureEach {
  16. systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
  17. }
  18. }