Skip to content

Commit b112e6b

Browse files
committed
Fix muzzle
1 parent 7c35da0 commit b112e6b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ muzzle {
1414
group.set("com.amazonaws")
1515
module.set("aws-java-sdk-core")
1616

17-
// Here we use 33 because at the moment, it Muzzle still works here and we want to keep the assertInverse
18-
// But feel free to upgrade the version up to 106 if needed.
19-
versions.set("[$minVersion,)")
17+
// Here we use 1.10(!).33 because at the moment, that version still passes Muzzle and we want to
18+
// keep the assertInverse. But feel free to upgrade the version up to $minVersion if needed.
19+
versions.set("[1.10.33,)")
2020
assertInverse.set(true)
2121

2222
excludeInstrumentationName("aws-sdk-1.11-sqs")
2323
}
2424

2525
fail {
26+
// Set name manually, otherwise this may cause random configuration errors due to the overlap with
27+
// the previous pass/assertInverse which might attempt to generate configurations with colliding
28+
// names.
29+
name.set("core-only-should-disable-sqs")
2630
group.set("com.amazonaws")
2731
module.set("aws-java-sdk-core")
2832
versions.set("[$minVersion,)")

0 commit comments

Comments
 (0)