123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- plugins {
- id("otel.javaagent-instrumentation")
- id("org.unbroken-dome.test-sets")
- }
- muzzle {
- pass {
- group.set("org.elasticsearch.client")
- module.set("rest")
- versions.set("[5.0,6.4)")
- assertInverse.set(true)
- }
- pass {
- group.set("org.elasticsearch.client")
- module.set("elasticsearch-rest-client")
- versions.set("[5.0,6.4)")
- }
- }
- val versions: Map<String, String> by project
- 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", findProperty("testLatestDeps"))
- usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
- }
- }
|