-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
However we cannot choose between the following variants of project :app: #299
Comments
Thanks for reporting this @nicolaiendios, do you have a simple reproducer ? |
I believe you need to set the For example: If you want to generate a SBOM for
|
Hi, I'm trying to create the BoM for an Android App that uses multiple self-made libraries (that also depend on each other). I've added the product flavor 'prod' to all the libraries already - without success. For now I left them out again since the build is working fine and the cyclonedx result was not affected, besides it complaining that it now was provided, but the consumer didn't ask for it. I'm building via gradle's composite build with this settings.gradle (names altered, but matching the output logs):
root build.gradle:
Task :cyclonedxBom logs:
Thanks for your help! |
Main issue: #478 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hiya!
I'm not being able to generate a proper bom.json with included dependencies in my Android app project.
In order to enable cyclonedxBom I added the plugin like so:
Based on the error message I assume it has something to do with the
buildVariant
but I have no clue how to fix it.Here is the error message after running
./gradlew cyclonedxbom
:`Execution failed for task ':app:cyclonedxBom'.
`
Any idea how I can fix this error?
The text was updated successfully, but these errors were encountered: