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

Feat/new implementation cyclonedx bom #532

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
357abd4
feat: initial new task implementation
gordonrousselle Oct 21, 2024
09e73ce
feat: use single graph by merging all graphs for every configuration
gordonrousselle Oct 23, 2024
f82f1ce
fix: enable cache for multi node project and return empty classifier …
gordonrousselle Oct 23, 2024
010b8d1
fix: provide artifacts lazily
gordonrousselle Oct 25, 2024
e016f01
feat: support build configuration cache
gordonrousselle Oct 26, 2024
ff26c9f
feat: implement custom configuration
gordonrousselle Nov 4, 2024
ac1c3c0
fix: add entry into cache
gordonrousselle Nov 4, 2024
4f0b179
fix: getGroup and getVersion do not return String objects
gordonrousselle Nov 4, 2024
e2a2290
feat: add small fixes, javadoc, logging and nullables.
gordonrousselle Nov 5, 2024
be08c09
feat: log configuration parameters, use empty list for licenses, vali…
gordonrousselle Nov 7, 2024
5a5596b
feat: add additional logging for purl failures and remove cdx:maven:p…
gordonrousselle Nov 11, 2024
a2c603f
feat: parse plugin.properties for tools metadata and make SbomGraphPr…
gordonrousselle Nov 13, 2024
9ea6d0e
feat: initial new task implementation
gordonrousselle Oct 21, 2024
b013821
feat: use single graph by merging all graphs for every configuration
gordonrousselle Oct 23, 2024
069d316
fix: enable cache for multi node project and return empty classifier …
gordonrousselle Oct 23, 2024
3a3ec89
fix: provide artifacts lazily
gordonrousselle Oct 25, 2024
78e6584
feat: support build configuration cache
gordonrousselle Oct 26, 2024
6f0cf7b
feat: implement custom configuration
gordonrousselle Nov 4, 2024
babadc8
fix: add entry into cache
gordonrousselle Nov 4, 2024
686bf45
fix: getGroup and getVersion do not return String objects
gordonrousselle Nov 4, 2024
8fb80ab
feat: add small fixes, javadoc, logging and nullables.
gordonrousselle Nov 5, 2024
15564d5
feat: log configuration parameters, use empty list for licenses, vali…
gordonrousselle Nov 7, 2024
8f204a8
feat: add additional logging for purl failures and remove cdx:maven:p…
gordonrousselle Nov 11, 2024
7a81820
feat: parse plugin.properties for tools metadata and make SbomGraphPr…
gordonrousselle Nov 13, 2024
9927718
Merge branch 'feat/new-implementation-cyclonedxBom' of https://github…
gordonrousselle Nov 13, 2024
2b8aebe
fix: ignore directories when checking for generated bom files
gordonrousselle Nov 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ dependencies {
testImplementation("org.spockframework:spock-core:2.2-M1-groovy-3.0") {
exclude(module = "groovy-all")
}
testImplementation("org.junit.jupiter:junit-jupiter-api:5.11.3")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.11.3")
}

tasks.withType<Test> {
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/org/cyclonedx/gradle/CycloneDxPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@
import org.gradle.api.Plugin;
import org.gradle.api.Project;

/**
* Entrypoint of the plugin which simply configures one task
*/
public class CycloneDxPlugin implements Plugin<Project> {

public void apply(Project project) {
public void apply(final Project project) {

project.getTasks().register("cyclonedxBom", CycloneDxTask.class, (task) -> {
task.setGroup("Reporting");
task.setDescription("Generates a CycloneDX compliant Software Bill of Materials (SBOM)");
Expand Down
Loading