spring-data-1.8-javaagent.gradle 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply from: "$rootDir/gradle/instrumentation.gradle"
  2. muzzle {
  3. // We have two independent covariants, so we have to test them independently.
  4. pass {
  5. group = 'org.springframework.data'
  6. module = 'spring-data-commons'
  7. versions = "[1.8.0.RELEASE,]"
  8. extraDependency "org.springframework:spring-aop:1.2"
  9. assertInverse = true
  10. }
  11. pass {
  12. group = 'org.springframework'
  13. module = 'spring-aop'
  14. versions = "[1.2,]"
  15. extraDependency "org.springframework.data:spring-data-commons:1.8.0.RELEASE"
  16. assertInverse = true
  17. }
  18. }
  19. // DQH - API changes that impact instrumentation occurred in spring-data-commons in March 2014.
  20. // For now, that limits support to spring-data-commons 1.9.0 (maybe 1.8.0).
  21. // For testing, chose a couple spring-data modules that are old enough to work with 1.9.0.
  22. dependencies {
  23. library "org.springframework.data:spring-data-commons:1.8.0.RELEASE"
  24. compileOnly("org.springframework:spring-aop:1.2")
  25. testImplementation "org.spockframework:spock-spring:${versions["org.spockframework"]}"
  26. testLibrary "org.springframework:spring-test:3.0.0.RELEASE"
  27. testLibrary "org.springframework.data:spring-data-jpa:1.8.0.RELEASE"
  28. // JPA dependencies
  29. testInstrumentation project(':instrumentation:jdbc:javaagent')
  30. testImplementation "com.mysema.querydsl:querydsl-jpa:3.7.4"
  31. testImplementation "org.hsqldb:hsqldb:2.0.0"
  32. testLibrary "org.hibernate:hibernate-entitymanager:4.3.0.Final"
  33. latestDepTestLibrary "org.hibernate:hibernate-entitymanager:5.+"
  34. }