Skip to content

Deny rule shows exception multiple times #38

@nadavc

Description

@nadavc

Reproduced in https://github.com/nadavc/repro-rules-exceptions

$ gw build                                                                                                                                                       

Using gradle at '/Users/ncohen/dev/tests/repro/gradlew' to run buildfile '/Users/ncohen/dev/tests/repro/build.gradle':

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'repro'.
> Failed to notify project evaluation listener.
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug
   > Dependency org.slf4j:slf4j-api denied by dependency rule: reproducing bug

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions