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