hibernate-4.0.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply from: "$rootDir/gradle/instrumentation.gradle"
  2. apply plugin: 'org.unbroken-dome.test-sets'
  3. muzzle {
  4. pass {
  5. group = "org.hibernate"
  6. module = "hibernate-core"
  7. versions = "[4.0.0.Final,)"
  8. assertInverse = true
  9. }
  10. }
  11. testSets {
  12. latestDepTest {
  13. dirName = 'test'
  14. }
  15. }
  16. dependencies {
  17. compileOnly group: 'org.hibernate', name: 'hibernate-core', version: '4.0.0.Final'
  18. implementation project(':instrumentation:hibernate:hibernate-common')
  19. testImplementation project(':instrumentation:jdbc')
  20. // Added to ensure cross compatibility:
  21. testImplementation project(':instrumentation:hibernate:hibernate-3.3')
  22. testImplementation project(':instrumentation:hibernate:hibernate-4.3')
  23. testImplementation group: 'org.hibernate', name: 'hibernate-core', version: '4.0.0.Final'
  24. testImplementation group: 'com.h2database', name: 'h2', version: '1.4.197'
  25. testImplementation "javax.xml.bind:jaxb-api:2.2.11"
  26. testImplementation "com.sun.xml.bind:jaxb-core:2.2.11"
  27. testImplementation "com.sun.xml.bind:jaxb-impl:2.2.11"
  28. testImplementation "javax.activation:activation:1.1.1"
  29. latestDepTestImplementation group: 'org.hibernate', name: 'hibernate-core', version: '4.2.+'
  30. latestDepTestImplementation group: 'com.h2database', name: 'h2', version: '1.4.197'
  31. // Test that the incremental instrumentation for hibernate 4.3 doesn't cause issues.
  32. latestDepTestImplementation project(':instrumentation:hibernate:hibernate-4.3')
  33. }