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

Duplicate properties #1403

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Conversation

malice00
Copy link
Contributor

@malice00 malice00 commented Oct 1, 2024

This fixes both the duplicate properties (#1401) and, for Gradle, the usage of a project name as a profile.

The issue for the duplicate properties was not in Gradle-specific code, so this could influence/fix issues with duplicate properties for other languages/tools as well!

Copy link
Contributor

@prabhu prabhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix!

@prabhu prabhu merged commit 873abe7 into CycloneDX:master Oct 2, 2024
17 of 21 checks passed
@prabhu
Copy link
Contributor

prabhu commented Oct 2, 2024

Will fix the repotests in a separate PR.

@malice00 malice00 deleted the fix/GRADLE_DUPLICATE_PROFILES branch October 2, 2024 16:28
@malice00
Copy link
Contributor Author

malice00 commented Oct 2, 2024

@prabhu just a little heads-up on the repotests: it looks like it's custom-json-diff that's having the issue, not cdxgen. Not sure if cjd has been updated lately, but on my local tests, everything was fine.

@prabhu
Copy link
Contributor

prabhu commented Oct 2, 2024

Correct. v2 is out with a new command. Could you kindly update based on the latest snapshot tests and share a PR?

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.

2 participants