-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
38 lines (30 loc) · 1.03 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
38 lines (30 loc) · 1.03 KB
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
plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
pass {
group.set("io.reactivex.rxjava3")
module.set("rxjava")
versions.set("[3.1.1,)")
assertInverse.set(true)
}
}
dependencies {
library("io.reactivex.rxjava3:rxjava:3.1.1")
compileOnly(project(":instrumentation-annotations-support"))
implementation(project(":instrumentation:rxjava:rxjava-3.1:library"))
testImplementation(project(":instrumentation:rxjava:rxjava-common-3.0:testing"))
testInstrumentation(project(":instrumentation:opentelemetry-extension-annotations-1.0:javaagent"))
testInstrumentation(project(":instrumentation:rxjava:rxjava-2.0:javaagent"))
testInstrumentation(project(":instrumentation:rxjava:rxjava-3.0:javaagent"))
}
tasks {
val testExperimental by registering(Test::class) {
testClassesDirs = sourceSets.test.get().output.classesDirs
classpath = sourceSets.test.get().runtimeClasspath
jvmArgs("-Dotel.instrumentation.rxjava.experimental-span-attributes=true")
}
check {
dependsOn(testExperimental)
}
}