You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We are going to drop JDK8 support. Hence, the spotless is upgrade to newest version and be applied only if the build env is compatible with JDK 11.
16
+
// spotless 6.15.0+ has issue in runtime with JDK8 even through we define it with `apply:false`. see https://github.com/diffplug/spotless/issues/2156 for more details
17
+
id 'com.diffplug.spotless' version "6.14.0" apply false
18
+
+ id 'org.cyclonedx.bom' version '1.10.0'
19
+
+}
20
+
+
21
+
+cyclonedxBom {
22
+
+ // Specified the type of project being built. Defaults to 'library'
23
+
+ projectType = "application"
24
+
+ // Specified the version of the CycloneDX specification to use. Defaults to '1.5'
25
+
+ schemaVersion = "1.5"
26
+
+ // Boms destination directory. Defaults to 'build/reports'
27
+
+ destination = file("build/reports")
28
+
+ // The file name for the generated BOMs (before the file format suffix). Defaults to 'bom'
29
+
+ outputName = "bom"
30
+
+ // The file format generated, can be xml, json or all for generating both. Defaults to 'all'
31
+
+ outputFormat = "json"
32
+
+ includeConfigs = ["runtimeClasspath"]
33
+
+ // Exclude test components. This list needs to be checked and, if it changed, updated for every new Kafka version.
34
+
+ // The list can be obtained by running `gradle projects | grep upgrade-system-tests`
0 commit comments