diff options
Diffstat (limited to 'poi-ooxml/build.gradle')
-rw-r--r-- | poi-ooxml/build.gradle | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/poi-ooxml/build.gradle b/poi-ooxml/build.gradle index 6407b9b6e4..e435ee71aa 100644 --- a/poi-ooxml/build.gradle +++ b/poi-ooxml/build.gradle @@ -366,3 +366,22 @@ publishing { } } } + +cyclonedxBom { + // includeConfigs is the list of configuration names to include when generating the BOM (leave empty to include every configuration) + includeConfigs = ["runtimeClasspath"] + // skipConfigs is a list of configuration names to exclude when generating the BOM + //skipConfigs = ["compileClasspath", "testCompileClasspath"] + // Specified the type of project being built. Defaults to 'library' + projectType = "library" + // Specified the version of the CycloneDX specification to use. Defaults to 1.4. + schemaVersion = "1.4" + // Boms destination directory (defaults to build/reports) + destination = file("build/reports") + // The file name for the generated BOMs (before the file format suffix). Defaults to 'bom' + outputName = "poi-ooxml-${project.version}.bom" + // The file format generated, can be xml, json or all for generating both + outputFormat = "all" + // Exclude BOM Serial Number + includeBomSerialNumber = true +} |