39 lines
1.1 KiB
Groovy
39 lines
1.1 KiB
Groovy
apply plugin: "otel.javaagent-instrumentation"
|
|
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)"
|
|
}
|
|
}
|
|
|
|
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.testcontainers:elasticsearch:${versions["org.testcontainers"]}"
|
|
testLibrary "org.elasticsearch.client:rest:5.0.0"
|
|
|
|
latestDepTestLibrary "org.elasticsearch.client:elasticsearch-rest-client:6.3.+"
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
systemProperty "testLatestDeps", testLatestDeps
|
|
}
|