Skip to content

Commit fe06607

Browse files
committed
fix: kafka: ignore test components in SBOM
1 parent 9811e6c commit fe06607

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

kafka/stackable/patches/3.7.1/001-cyclonedx-plugin.patch

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/build.gradle b/build.gradle
2-
index 32e6e8f..7bfe6c2 100644
2+
index 32e6e8f..d496382 100644
33
--- a/build.gradle
44
+++ b/build.gradle
5-
@@ -48,6 +48,22 @@ plugins {
5+
@@ -48,6 +48,45 @@ plugins {
66
// artifacts - see https://github.com/johnrengelman/shadow/issues/901
77
id 'com.github.johnrengelman.shadow' version '8.1.0' apply false
88
id 'com.diffplug.spotless' version '6.14.0' apply false // 6.14.1 and newer require Java 11 at compile time, so we can't upgrade until AK 4.0
@@ -20,8 +20,31 @@ index 32e6e8f..7bfe6c2 100644
2020
+ outputName = "bom"
2121
+ // The file format generated, can be xml, json or all for generating both. Defaults to 'all'
2222
+ outputFormat = "json"
23-
+ // Fixes: https://github.com/gradle/gradle/issues/6854
24-
+ skipConfigs = ["incrementalScalaAnalysisFortest", "incrementalScalaAnalysisFormain", "compileClasspath", "testCompileClasspath"]
23+
+ includeConfigs = ["runtimeClasspath"]
24+
+ skipProjects = [
25+
+ 'upgrade-system-tests-0100',
26+
+ 'upgrade-system-tests-0101',
27+
+ 'upgrade-system-tests-0102',
28+
+ 'upgrade-system-tests-0110',
29+
+ 'upgrade-system-tests-10',
30+
+ 'upgrade-system-tests-11',
31+
+ 'upgrade-system-tests-20',
32+
+ 'upgrade-system-tests-21',
33+
+ 'upgrade-system-tests-22',
34+
+ 'upgrade-system-tests-23',
35+
+ 'upgrade-system-tests-24',
36+
+ 'upgrade-system-tests-25',
37+
+ 'upgrade-system-tests-26',
38+
+ 'upgrade-system-tests-27',
39+
+ 'upgrade-system-tests-28',
40+
+ 'upgrade-system-tests-30',
41+
+ 'upgrade-system-tests-31',
42+
+ 'upgrade-system-tests-32',
43+
+ 'upgrade-system-tests-33',
44+
+ 'upgrade-system-tests-34',
45+
+ 'upgrade-system-tests-35',
46+
+ 'upgrade-system-tests-36'
47+
+ ]
2548
}
2649

2750
ext {

0 commit comments

Comments
 (0)