aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml-full/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'poi-ooxml-full/build.gradle')
-rw-r--r--poi-ooxml-full/build.gradle21
1 files changed, 20 insertions, 1 deletions
diff --git a/poi-ooxml-full/build.gradle b/poi-ooxml-full/build.gradle
index 79c7ec1a4b..0900c57b34 100644
--- a/poi-ooxml-full/build.gradle
+++ b/poi-ooxml-full/build.gradle
@@ -179,4 +179,23 @@ publishing {
spotbugsTest.enabled = false
spotbugsMain.enabled = false
javadoc.enabled = false
-javadocJar.enabled = false \ No newline at end of file
+javadocJar.enabled = false
+
+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-full-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+} \ No newline at end of file