aboutsummaryrefslogtreecommitdiffstats
path: root/poi-examples
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-12-21 11:23:43 +0000
committerPJ Fanning <fanningpj@apache.org>2022-12-21 11:23:43 +0000
commitb8d4597ea4070bc46b92c0b859b80f517446d703 (patch)
treecb7b62efc2e6ffa0d7b13c55366c47750d1a0272 /poi-examples
parent5b295d644b1bc75d69e91561df2bdf73e8b68647 (diff)
downloadpoi-b8d4597ea4070bc46b92c0b859b80f517446d703.tar.gz
poi-b8d4597ea4070bc46b92c0b859b80f517446d703.zip
cyclonedx per module
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906134 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-examples')
-rw-r--r--poi-examples/build.gradle19
1 files changed, 19 insertions, 0 deletions
diff --git a/poi-examples/build.gradle b/poi-examples/build.gradle
index 1e72a8f778..435e050c3b 100644
--- a/poi-examples/build.gradle
+++ b/poi-examples/build.gradle
@@ -113,3 +113,22 @@ sourcesJar {
from("$projectDir/../legal/NOTICE")
}
}
+
+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-examples-${project.version}.bom"
+ // The file format generated, can be xml, json or all for generating both
+ outputFormat = "all"
+ // Exclude BOM Serial Number
+ includeBomSerialNumber = true
+}