39 lines
1.2 KiB
Groovy
39 lines
1.2 KiB
Groovy
// Set properties before any plugins get loaded
|
|
ext {
|
|
minJavaVersionForTests = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
apply from: "${rootDir}/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "org.elasticsearch.client"
|
|
module = "transport"
|
|
versions = "[5.0.0,5.3.0)"
|
|
assertInverse = true
|
|
}
|
|
pass {
|
|
group = "org.elasticsearch"
|
|
module = "elasticsearch"
|
|
versions = "[5.0.0,5.3.0)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly group: 'org.elasticsearch.client', name: 'transport', version: '5.0.0'
|
|
|
|
compile project(':instrumentation:elasticsearch:elasticsearch-common')
|
|
|
|
// Ensure no cross interference
|
|
testCompile project(':instrumentation:elasticsearch:elasticsearch-rest-5.0')
|
|
testCompile project(':instrumentation:apache-httpasyncclient-4.0')
|
|
testCompile project(':instrumentation:netty:netty-4.1')
|
|
|
|
testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
|
|
testCompile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.0'
|
|
|
|
testCompile group: 'org.elasticsearch.plugin', name: 'transport-netty3-client', version: '5.0.0'
|
|
testCompile group: 'org.elasticsearch.client', name: 'transport', version: '5.0.0'
|
|
}
|