|
| 1 | +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Nick Larsen < [email protected]> |
| 3 | +Date: Mon, 3 Feb 2025 13:54:54 +0100 |
| 4 | +Subject: Add cyclonedx-plugin |
| 5 | + |
| 6 | +--- |
| 7 | + build.gradle | 44 +++++++++++++++++++++++++++++++++++++++++++- |
| 8 | + 1 file changed, 43 insertions(+), 1 deletion(-) |
| 9 | + |
| 10 | +diff --git a/build.gradle b/build.gradle |
| 11 | +index 3a9914a9cd..398a7c994e 100644 |
| 12 | +--- a/build.gradle |
| 13 | ++++ b/build.gradle |
| 14 | +@@ -48,6 +48,48 @@ plugins { |
| 15 | + // artifacts - see https://github.com/johnrengelman/shadow/issues/901 |
| 16 | + id 'com.github.johnrengelman.shadow' version '8.1.0' apply false |
| 17 | + 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 |
| 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` |
| 35 | ++ skipProjects = [ |
| 36 | ++ 'upgrade-system-tests-0100', |
| 37 | ++ 'upgrade-system-tests-0101', |
| 38 | ++ 'upgrade-system-tests-0102', |
| 39 | ++ 'upgrade-system-tests-0110', |
| 40 | ++ 'upgrade-system-tests-10', |
| 41 | ++ 'upgrade-system-tests-11', |
| 42 | ++ 'upgrade-system-tests-20', |
| 43 | ++ 'upgrade-system-tests-21', |
| 44 | ++ 'upgrade-system-tests-22', |
| 45 | ++ 'upgrade-system-tests-23', |
| 46 | ++ 'upgrade-system-tests-24', |
| 47 | ++ 'upgrade-system-tests-25', |
| 48 | ++ 'upgrade-system-tests-26', |
| 49 | ++ 'upgrade-system-tests-27', |
| 50 | ++ 'upgrade-system-tests-28', |
| 51 | ++ 'upgrade-system-tests-30', |
| 52 | ++ 'upgrade-system-tests-31', |
| 53 | ++ 'upgrade-system-tests-32', |
| 54 | ++ 'upgrade-system-tests-33', |
| 55 | ++ 'upgrade-system-tests-34', |
| 56 | ++ 'upgrade-system-tests-35', |
| 57 | ++ 'upgrade-system-tests-36', |
| 58 | ++ 'upgrade-system-tests-37' |
| 59 | ++ ] |
| 60 | + } |
| 61 | + |
| 62 | + ext { |
| 63 | +@@ -1015,7 +1057,7 @@ project(':core') { |
| 64 | + testImplementation libs.junitJupiter |
| 65 | + testImplementation libs.slf4jlog4j |
| 66 | + testImplementation libs.caffeine |
| 67 | +- |
| 68 | ++ |
| 69 | + generator project(':generator') |
| 70 | + } |
| 71 | + |
| 72 | + |
| 73 | +base-commit: 79a8f2b5f44f9d5a6867190d1dfc463d08d60b82 |
| 74 | +-- |
| 75 | +2.40.1 |
| 76 | + |
0 commit comments