Skip to content

Gradle plugin is not generating "scope" field in SBOM #679

@Edwardman3

Description

@Edwardman3

Is it intentional that the plugin is not able to generate a "scope" field for the component from the dependencies?

For example:

dependencies {
    testImplementation("com.google.guava:guava:33.4.8-jre")
    implementation 'com.google.code.gson:gson:2.13.2'
}

i expect something like:

"scope" : "required",
...
"scope" : "optional",

If it is not possible to automatically link the implementation/testImplementation to the required/optional ones, will it be possible to map these properties manually in the future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions