CycloneDX / CycloneDX/cyclonedx-gradle-plugin

Set licenses for components

Open
#16 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
239
Forks
102
Avg merge
1d 9h
Merged PRs (30d)
11

Description

The code to set licenses for components seems to be commented out:

https://github.com/CycloneDX/cyclonedx-gradle-plugin/blob/1c92d4fba1e3de35b8020351137b621b36874358/src/main/java/org/cyclonedx/gradle/CycloneDxTask.java#L209

Indeed currently `licenseChoice` seems to always be `null`. Is there a particular reason for that?

Contributor guide

Open the contributing guide

Research direction

Start at src/main/java/org/cyclonedx/gradle/CycloneDxTask.java around line 209 and trace how licenseChoice is assigned for components. Determine why that code is commented out and verify the completed behavior by checking that component licenses are no longer always null.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.