Skip to content

Commit ce63587

Browse files
committed
fix muzzle configuration
1 parent 36d5919 commit ce63587

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

instrumentation/ktor/ktor-2.0/javaagent/build.gradle.kts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,20 @@ plugins {
77

88
muzzle {
99
pass {
10-
group.set("org.jetbrains.kotlinx")
10+
group.set("io.ktor")
11+
module.set("ktor-client-core")
12+
versions.set("[2.0.0,3.0.0)")
13+
assertInverse.set(true)
14+
excludeInstrumentationName("ktor-server")
15+
// missing dependencies
16+
skip("1.1.0", "1.1.5")
17+
}
18+
pass {
19+
group.set("io.ktor")
1120
module.set("ktor-server-core")
1221
versions.set("[2.0.0,3.0.0)")
1322
assertInverse.set(true)
23+
excludeInstrumentationName("ktor-client")
1424
}
1525
}
1626

instrumentation/ktor/ktor-3.0/javaagent/build.gradle.kts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,20 @@ plugins {
77

88
muzzle {
99
pass {
10-
group.set("org.jetbrains.kotlinx")
10+
group.set("io.ktor")
11+
module.set("ktor-client-core")
12+
versions.set("[3.0.0,)")
13+
assertInverse.set(true)
14+
excludeInstrumentationName("ktor-server")
15+
// missing dependencies
16+
skip("1.1.0", "1.1.5")
17+
}
18+
pass {
19+
group.set("io.ktor")
1120
module.set("ktor-server-core")
1221
versions.set("[3.0.0,)")
1322
assertInverse.set(true)
23+
excludeInstrumentationName("ktor-client")
1424
}
1525
}
1626

0 commit comments

Comments
 (0)