54 lines
1.8 KiB
Groovy
54 lines
1.8 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 = "[4.3.0.Final,)"
|
|
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: '4.3.0.Final'
|
|
|
|
compile project(':dd-java-agent:agent-tooling')
|
|
compile project(':dd-java-agent:instrumentation:hibernate')
|
|
|
|
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')
|
|
// Added to ensure cross compatibility:
|
|
testCompile project(':dd-java-agent:instrumentation:hibernate:core-3.3')
|
|
testCompile project(':dd-java-agent:instrumentation:hibernate:core-4.0')
|
|
|
|
testCompile group: 'org.hibernate', name: 'hibernate-core', version: '4.3.0.Final'
|
|
testCompile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '4.3.0.Final'
|
|
testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0'
|
|
testCompile group: 'org.springframework.data', name: 'spring-data-jpa', version: '1.5.1.RELEASE'
|
|
|
|
latestDepTestCompile group: 'org.hibernate', name: 'hibernate-core', version: '5.+'
|
|
latestDepTestCompile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '5.+'
|
|
latestDepTestCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0'
|
|
latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-jpa', version: '+'
|
|
}
|