opentelemetry-java-instrume.../instrumentation/hibernate/hibernate-4.0/hibernate-4.0.gradle

41 lines
1.3 KiB
Groovy

apply from: "${rootDir}/gradle/instrumentation.gradle"
apply plugin: 'org.unbroken-dome.test-sets'
muzzle {
pass {
group = "org.hibernate"
module = "hibernate-core"
versions = "[4.0.0.Final,)"
assertInverse = true
}
}
testSets {
latestDepTest {
dirName = 'test'
}
}
dependencies {
compileOnly group: 'org.hibernate', name: 'hibernate-core', version: '4.0.0.Final'
compile project(':instrumentation:hibernate:hibernate-common')
testCompile project(':instrumentation:jdbc')
// Added to ensure cross compatibility:
testCompile project(':instrumentation:hibernate:hibernate-3.3')
testCompile project(':instrumentation:hibernate:hibernate-4.3')
testCompile group: 'org.hibernate', name: 'hibernate-core', version: '4.0.0.Final'
testCompile group: 'com.h2database', name: 'h2', version: '1.4.197'
testCompile "javax.xml.bind:jaxb-api:2.2.11"
testCompile "com.sun.xml.bind:jaxb-core:2.2.11"
testCompile "com.sun.xml.bind:jaxb-impl:2.2.11"
testCompile "javax.activation:activation:1.1.1"
latestDepTestCompile group: 'org.hibernate', name: 'hibernate-core', version: '4.2.+'
latestDepTestCompile group: 'com.h2database', name: 'h2', version: '1.4.197'
// Test that the incremental instrumentation for hibernate 4.3 doesn't cause issues.
latestDepTestCompile project(':instrumentation:hibernate:hibernate-4.3')
}