Skip to content

onAny does not cover onDuplicateClassWarnings #1629

@Vampire

Description

@Vampire

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions