51 lines
1.4 KiB
Groovy
51 lines
1.4 KiB
Groovy
// Set properties before any plugins get loaded
|
|
project.ext {
|
|
// Execute tests on all JVMs, even rare and outdated ones
|
|
coreJavaInstrumentation = true
|
|
minJavaVersionForTests = JavaVersion.VERSION_1_7
|
|
}
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "org.hibernate"
|
|
module = "hibernate-core"
|
|
versions = "[5.0.0.Final, 5.+]"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
apply from: "${rootDir}/gradle/java.gradle"
|
|
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
testSets {
|
|
latestDepTest {
|
|
dirName = 'test'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly group: 'org.hibernate', name: 'hibernate-core', version: '5.0.0.Final'
|
|
|
|
compile project(':dd-java-agent:agent-tooling')
|
|
|
|
compile deps.bytebuddy
|
|
compile deps.opentracing
|
|
annotationProcessor deps.autoservice
|
|
implementation deps.autoservice
|
|
|
|
testCompile project(':dd-java-agent:testing')
|
|
testCompile project(':dd-java-agent:instrumentation:jdbc')
|
|
|
|
|
|
testCompile group: 'org.hibernate', name: 'hibernate-core', version: '5.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: '5.+'
|
|
latestDepTestCompile group: 'com.h2database', name: 'h2', version: '1.4.197'
|
|
}
|