Skip to content

Commit 2154388

Browse files
authored
Merge pull request #1345 from IETS3/feature/sbom-runtime-configs
sbom: include only runtime configs
2 parents 7817dd9 + f4c557b commit 2154388

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project are documented in this file.
55
Format of the log is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
The project does _not_ follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month.
77

8+
## June 2025
9+
10+
### Changed
11+
12+
- Published SBOM contains dependencies only from runtime configurations
13+
814
## May 2025
915

1016
### Changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,4 +584,8 @@ cyclonedxBom {
584584
outputFormat = "json"
585585
// Don't include license texts in generated SBOMs
586586
includeLicenseText = false
587+
// Include runtime only deps (bundled libs, language libs, mps)
588+
def runtimeConfigs = bundledDeps.collect {it.configName }
589+
runtimeConfigs.addAll([configurations.mps.name, configurations.languageLibs.name])
590+
includeConfigs = runtimeConfigs
587591
}

0 commit comments

Comments
 (0)