build.gradle.kts 862 B

123456789101112131415161718192021222324252627282930
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("org.springframework.amqp")
  7. module.set("spring-rabbit")
  8. versions.set("(,)")
  9. // Problematic release depending on snapshots
  10. skip("1.6.4.RELEASE", "2.1.1.RELEASE")
  11. }
  12. }
  13. dependencies {
  14. library("org.springframework.amqp:spring-rabbit:1.0.0.RELEASE")
  15. testInstrumentation(project(":instrumentation:rabbitmq-2.7:javaagent"))
  16. // 2.1.7 adds the @RabbitListener annotation, we need that for tests
  17. testLibrary("org.springframework.amqp:spring-rabbit:2.1.7.RELEASE")
  18. testLibrary("org.springframework.boot:spring-boot-starter-test:1.5.22.RELEASE")
  19. testLibrary("org.springframework.boot:spring-boot-starter:1.5.22.RELEASE")
  20. }
  21. tasks {
  22. named<Test>("test") {
  23. usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
  24. }
  25. }