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

fix: gradle ca produces two versions of the same package #131

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

zvigrinberg
Copy link
Collaborator

@zvigrinberg zvigrinberg commented Apr 30, 2024

Description

When invoking Compoent analysis for gradle , with build.gradle containing same artifact twice each time with different version, then sbom is generated with these 2 versions ,which is wrong.
the fix resolves this conflict by using data comes from gradle dependencies command, and then dropping the version that wasn't the resolution for the conflict.

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
@zvigrinberg zvigrinberg force-pushed the hotfix/fix-gradle-ca-no-ver branch from 79bc4ef to 40edc74 Compare April 30, 2024 21:06
@zvigrinberg zvigrinberg merged commit 943ad04 into main Apr 30, 2024
3 of 5 checks passed
@zvigrinberg zvigrinberg deleted the hotfix/fix-gradle-ca-no-ver branch April 30, 2024 21:09
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

Successfully merging this pull request may close these issues.

1 participant