Skip to content

Commit b80b62e

Browse files
authored
adjust muzzle for hibernate-core (#10134)
1 parent cd456d2 commit b80b62e

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

dd-java-agent/instrumentation/hibernate/core-3.3/build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ muzzle {
1010
group = "org.hibernate"
1111
module = "hibernate-core"
1212
versions = "[3.3.0.GA,4.0.0.Final)"
13-
assertInverse = true
13+
}
14+
fail {
15+
group = "org.hibernate"
16+
module = "hibernate-core"
17+
versions = "[4.0.0.Final,6)"
18+
}
19+
// hibernate-core has been moved
20+
fail {
21+
group = "org.hibernate.orm"
22+
module = "hibernate-core"
23+
versions = "[6,)"
1424
}
1525
}
1626

dd-java-agent/instrumentation/hibernate/core-4.0/build.gradle

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@ muzzle {
22
pass {
33
group = "org.hibernate"
44
module = "hibernate-core"
5-
versions = "[4.0.0.Final,6.0.0)"
6-
assertInverse = true
5+
versions = "[4.0.0.Final,6)"
6+
}
7+
fail {
8+
group = "org.hibernate"
9+
module = "hibernate-core"
10+
versions = "(,4.0.0.Final)"
11+
}
12+
// hibernate-core has been moved
13+
fail {
14+
group = "org.hibernate.orm"
15+
module = "hibernate-core"
16+
versions = "[6,)"
717
}
818
}
919

0 commit comments

Comments
 (0)