29 lines
771 B
Plaintext
29 lines
771 B
Plaintext
plugins {
|
|
id("otel.library-instrumentation")
|
|
id("otel.nullaway-conventions")
|
|
}
|
|
|
|
dependencies {
|
|
library("io.lettuce:lettuce-core:5.1.0.RELEASE")
|
|
|
|
implementation(project(":instrumentation:lettuce:lettuce-common:library"))
|
|
|
|
testImplementation(project(":instrumentation:lettuce:lettuce-5.1:testing"))
|
|
testImplementation(project(":instrumentation:reactor:reactor-3.1:library"))
|
|
}
|
|
|
|
tasks {
|
|
withType<Test>().configureEach {
|
|
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
|
|
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
|
|
}
|
|
|
|
val testStableSemconv by registering(Test::class) {
|
|
jvmArgs("-Dotel.semconv-stability.opt-in=database")
|
|
}
|
|
|
|
check {
|
|
dependsOn(testStableSemconv)
|
|
}
|
|
}
|