-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
40 lines (32 loc) · 1.16 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
40 lines (32 loc) · 1.16 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
39
40
plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
pass {
group.set("io.reactivex.rxjava2")
module.set("rxjava")
versions.set("[2.0.6,)")
assertInverse.set(true)
}
}
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)
}
}
dependencies {
library("io.reactivex.rxjava2:rxjava:2.0.6")
compileOnly(project(":instrumentation-annotations-support"))
implementation(project(":instrumentation:rxjava:rxjava-2.0:library"))
testInstrumentation(project(":instrumentation:opentelemetry-extension-annotations-1.0:javaagent"))
testInstrumentation(project(":instrumentation:rxjava:rxjava-3.0:javaagent"))
testInstrumentation(project(":instrumentation:rxjava:rxjava-3.1:javaagent"))
testImplementation(project(":instrumentation-annotations"))
testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
testImplementation(project(":instrumentation:rxjava:rxjava-2.0:testing"))
}