-
Notifications
You must be signed in to change notification settings - Fork 827
/
build.gradle.kts
44 lines (38 loc) · 1.06 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
pass {
group.set("com.couchbase.client")
module.set("java-client")
versions.set("[3.2.0,)")
// these versions were released as ".bundle" instead of ".jar"
skip("2.7.5", "2.7.8")
assertInverse.set(true)
}
}
sourceSets {
main {
val shadedDep = project(":instrumentation:couchbase:couchbase-3.2:tracing-opentelemetry-shaded")
output.dir(
shadedDep.file("build/extracted/shadow"),
"builtBy" to ":instrumentation:couchbase:couchbase-3.2:tracing-opentelemetry-shaded:extractShadowJar",
)
}
}
dependencies {
compileOnly(
project(
path = ":instrumentation:couchbase:couchbase-3.2:tracing-opentelemetry-shaded",
configuration = "shadow",
),
)
library("com.couchbase.client:java-client:3.2.0")
testImplementation("org.testcontainers:couchbase")
}
tasks {
test {
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
}
}