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

Dependencies Missing in Report when Using cyclonedx-gradle-plugin in Multi-Module Android Project #509

Open
aeroxr1 opened this issue Sep 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@aeroxr1
Copy link

aeroxr1 commented Sep 10, 2024

I’m having issues using the cyclonedx-gradle-plugin in a multi-module project.

I am using the init.gradle script taken from the plugin’s GitHub page.

init.gradle

In addition, I’ve included skipConfigs as suggested in this issue:

Issue

When I run the following command:

.\gradlew --init-script .\init.gradle cyclonedxBom --info
the reports are generated, but none of the dependencies are listed. For instance, Jackson doesn’t appear.

Why is this happening?

I’ve also created a sample project that replicates the issue. On the main branch, you’ll find the source with version catalogs, while the without_version_catalog branch contains the version with the versioning as-is. You can find the project here:

testAndroidSbom

@aeroxr1 aeroxr1 added the bug Something isn't working label Sep 10, 2024
@andreaschir
Copy link

same problem here

@riccardodini
Copy link

I have the same problem. My project has multiple module and multiple flavours also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants