File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ allprojects {
115
115
apply (plugin = " io.gitlab.arturbosch.detekt" )
116
116
apply (plugin = " project-report" )
117
117
apply (plugin = " org.owasp.dependencycheck" )
118
+ apply (plugin = " org.cyclonedx.bom" )
118
119
119
120
version = rootProject.scmVersion.version ? : error(" Root project did not configure scmVersion!" )
120
121
@@ -146,6 +147,13 @@ allprojects {
146
147
mavenCentral()
147
148
}
148
149
150
+ tasks.cyclonedxBom {
151
+ includeConfigs = listOf (" runtimeClasspath" )
152
+ outputFormat = " xml" // by default it would also generate json
153
+ projectType = " application"
154
+ outputName = " cosmotech-api-bom"
155
+ }
156
+
149
157
tasks.withType<HtmlDependencyReportTask >().configureEach { projects = project.allprojects }
150
158
151
159
configure<SpotlessExtension > {
You can’t perform that action at this time.
0 commit comments