Tags: Liftric/dependency-track-companion-plugin
Tags
Refactor Plugin Extension to avoid duplicate attributes (#5) * refactor: replace uploadSbom Builder with extension attributes to remove all the duplicate in plugin extension configuration, i replaced the builder objects with normal extension attributes that we can reuse in all tasks. * refactor: replace uploadVex Builder with extension attributes to remove all the duplicate in plugin extension configuration, i replaced the builder objects with normal extension attributes that we can reuse in all tasks. * refactor: replace GetOutdatedDependencies Builder with extension attributes to remove all the duplicate in plugin extension configuration, i replaced the builder objects with normal extension attributes that we can reuse in all tasks. * fix(integrationTest): remove old builder attribute * refactor: replace GetSuppressedVuln Builder with extension attributes to remove all the duplicate in plugin extension configuration, i replaced the builder objects with normal extension attributes that we can reuse in all tasks. * refactor: replace riskScore Builder with extension attributes to remove all the duplicate in plugin extension configuration, i replaced the builder objects with normal extension attributes that we can reuse in all tasks. * chore(README): update instruction on new plugin configuration * chore(service/DT): rename all id's to projectUUID for more consistency * chore: replace if with when for better readability --------- Co-authored-by: Patrick Mirwald <[email protected]>
feat: add nemerosa versioning plugin (#3) * feat: add nemerosa versioning plugin * chore: change version to full in local development * chore: remove gradle properties/minor improvements * chore: move plugin properties to build folder * chore(generate-vex): remove default value from props for metadata --------- Co-authored-by: Patrick Mirwald <[email protected]>
DT companion Plugin v1.0.0 (#1) * Refactor: Move Property Resolution from Configuration to Execution Time This commit addresses an issue where properties were being resolved during configuration time By transitioning the property resolution process to execution time, we leverage the full potential of Gradle properties. This change enhances build performance and optimizes resource usage by preventing premature property resolution. * wip: add default task tests * wip: add GenerateVex integrationTest * wip: add meta task and task group/desc to all tasks * fix runDepTrackWorkflow Task execution order * wip: add integrationTest with docker compose * Refactor build.gradle.kts to use Gradle version catalogs for dependencies and plugins * Refactor build.gradle.kts to enhance test setup and improve code organization * wip: replace file input/output string with RegularFileProperty * wip: rename package name and add readme * wip: configurate gradle plugin publish * wip: rename class name, remove unnecessary return types * feat: add plugin properties handler added a task for generating plugin.properties file inspired by the cyclondx sbom gradle plugin * remove unused import * Refactor toNonNullPairList methods in UploadSBOM and UploadVex classes The toNonNullPairList methods in the UploadSBOM and UploadVex classes have been refactored for simplicity and readability. The changes include replacing the previous approach of using a mutable list and conditionally adding items with a simpler, more direct approach of creating a list and filtering out any null values. * Refactor form data handling in UploadSBOM and UploadVex tasks * chore:(docker-compose) remove default config comments * feat: add workflow for tests/publish --------- Co-authored-by: nvima <[email protected]>