46 lines
1.4 KiB
Groovy
46 lines
1.4 KiB
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "org.elasticsearch.client"
|
|
module = "rest"
|
|
versions = "[5.0,6.4)"
|
|
assertInverse = true
|
|
}
|
|
|
|
pass {
|
|
group = "org.elasticsearch.client"
|
|
module = "elasticsearch-rest-client"
|
|
versions = "[5.0,6.4)"
|
|
}
|
|
}
|
|
|
|
testSets {
|
|
latestDepTest
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "org.elasticsearch.client:rest:5.0.0"
|
|
|
|
implementation project(':instrumentation:elasticsearch:elasticsearch-rest-common:library')
|
|
|
|
testInstrumentation project(':instrumentation:apache-httpclient:apache-httpclient-4.0:javaagent')
|
|
testInstrumentation project(':instrumentation:apache-httpasyncclient-4.1:javaagent')
|
|
|
|
testImplementation "org.apache.logging.log4j:log4j-core:2.11.0"
|
|
testImplementation "org.apache.logging.log4j:log4j-api:2.11.0"
|
|
|
|
testImplementation "org.elasticsearch.client:rest:5.0.0"
|
|
testImplementation "org.elasticsearch:elasticsearch:5.0.0"
|
|
testImplementation "org.elasticsearch.plugin:transport-netty3-client:5.0.0"
|
|
|
|
latestDepTestImplementation "org.elasticsearch.client:elasticsearch-rest-client:6.3.+"
|
|
latestDepTestImplementation "org.elasticsearch:elasticsearch:6.3.+"
|
|
latestDepTestImplementation "org.elasticsearch.plugin:transport-netty4-client:6.3.+"
|
|
}
|
|
|
|
configurations.latestDepTestImplementation {
|
|
exclude group: "org.elasticsearch.client", module: "rest"
|
|
}
|