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

30 lines
1000 B
Groovy

apply from: "$rootDir/gradle/instrumentation.gradle"
muzzle {
pass {
group = "org.hibernate"
module = "hibernate-core"
versions = "[4.0.0.Final,)"
assertInverse = true
}
}
dependencies {
library group: 'org.hibernate', name: 'hibernate-core', version: '4.0.0.Final'
implementation project(':instrumentation:hibernate:hibernate-common')
testImplementation project(':instrumentation:jdbc')
// Added to ensure cross compatibility:
testImplementation project(':instrumentation:hibernate:hibernate-3.3')
testImplementation project(':instrumentation:hibernate:hibernate-4.3')
testImplementation group: 'com.h2database', name: 'h2', version: '1.4.197'
testImplementation "javax.xml.bind:jaxb-api:2.2.11"
testImplementation "com.sun.xml.bind:jaxb-core:2.2.11"
testImplementation "com.sun.xml.bind:jaxb-impl:2.2.11"
testImplementation "javax.activation:activation:1.1.1"
latestDepTestLibrary group: 'org.hibernate', name: 'hibernate-core', version: '4.2.+'
}