37 lines
867 B
Plaintext
37 lines
867 B
Plaintext
plugins {
|
|
id("otel.javaagent-instrumentation")
|
|
}
|
|
|
|
muzzle {
|
|
pass {
|
|
group.set("com.clickhouse.client")
|
|
module.set("clickhouse-client")
|
|
versions.set("[0.5.0,)")
|
|
assertInverse.set(true)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("com.clickhouse:clickhouse-client:0.5.0")
|
|
compileOnly("com.google.auto.value:auto-value-annotations")
|
|
annotationProcessor("com.google.auto.value:auto-value")
|
|
|
|
testLibrary("com.clickhouse:clickhouse-client:0.5.0")
|
|
testLibrary("com.clickhouse:clickhouse-http-client:0.5.0")
|
|
testLibrary("org.apache.httpcomponents.client5:httpclient5:5.2.3")
|
|
}
|
|
|
|
tasks {
|
|
test {
|
|
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
|
|
}
|
|
|
|
val testStableSemconv by registering(Test::class) {
|
|
jvmArgs("-Dotel.semconv-stability.opt-in=database")
|
|
}
|
|
|
|
check {
|
|
dependsOn(testStableSemconv)
|
|
}
|
|
}
|