Plugin version
3.5.1 / 3.5.2-SNAPSHOT
Gradle version
9.2.1
JDK version
25
Describe the bug
I have onAny { severity("fail") } and got a duplicate class warning,
but the build did not fail. It only failed when I additionally specified
onDuplicateClassWarnings { severity("fail") }.
Expected behavior
onAny covering any issue