Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A specific dependency notation causes incorrect behavior #373

Open
sergeykad opened this issue Mar 25, 2022 · 0 comments
Open

A specific dependency notation causes incorrect behavior #373

sergeykad opened this issue Mar 25, 2022 · 0 comments

Comments

@sergeykad
Copy link

sergeykad commented Mar 25, 2022

Expected behavior

The plugin works correctly regardless of the used dependency notation or at least returns a clear error message.

Actual behavior

Using the following format causes incorrect behavior. For example auto-fix will remove all the listed dependencies if at least one of them is redundand.

implementation 'org.apache.logging.log4j:log4j-core:2.17.2',
         'commons-codec:commons-codec:1.11'

If the dependency specified as below everithing works correctly.

implementation 'org.apache.logging.log4j:log4j-core:2.17.2'
implementation 'commons-codec:commons-codec:1.11'

Environment

Using "nebula.lint" version "17.6.1" with Gradle 7.4, but it is reproducible on older versions as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant