From b8d4597ea4070bc46b92c0b859b80f517446d703 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 21 Dec 2022 11:23:43 +0000 Subject: cyclonedx per module git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906134 13f79535-47bb-0310-9956-ffa450edef68 --- poi-excelant/build.gradle | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'poi-excelant') diff --git a/poi-excelant/build.gradle b/poi-excelant/build.gradle index 9d634f18ec..2a4f7a9ae6 100644 --- a/poi-excelant/build.gradle +++ b/poi-excelant/build.gradle @@ -202,3 +202,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-excelant-${project.version}.bom" + // The file format generated, can be xml, json or all for generating both + outputFormat = "all" + // Exclude BOM Serial Number + includeBomSerialNumber = true +} -- cgit v1.2.3