27 lines
628 B
Plaintext
27 lines
628 B
Plaintext
plugins {
|
|
id("otel.library-instrumentation")
|
|
}
|
|
|
|
dependencies {
|
|
library("com.datastax.oss:java-driver-core:4.4.0")
|
|
|
|
compileOnly("com.google.auto.value:auto-value-annotations")
|
|
annotationProcessor("com.google.auto.value:auto-value")
|
|
|
|
testImplementation(project(":instrumentation:cassandra:cassandra-4.4:testing"))
|
|
}
|
|
|
|
tasks {
|
|
withType<Test>().configureEach {
|
|
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
|
|
}
|
|
|
|
val testStableSemconv by registering(Test::class) {
|
|
jvmArgs("-Dotel.semconv-stability.opt-in=database")
|
|
}
|
|
|
|
check {
|
|
dependsOn(testStableSemconv)
|
|
}
|
|
}
|