|
| 1 | +From 855ddc9cdffe2a838f9dc7d05064cf8b74144d36 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> |
| 3 | +Date: Wed, 13 May 2026 16:30:33 +0300 |
| 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 2b27f3af75..6a5e74a2bd 100644 |
| 12 | +--- a/build.gradle |
| 13 | ++++ b/build.gradle |
| 14 | +@@ -41,8 +41,50 @@ plugins { |
| 15 | + id 'org.scoverage' version '8.1' apply false |
| 16 | + id 'com.gradleup.shadow' version '8.3.9' apply false |
| 17 | + id 'com.diffplug.spotless' version "8.0.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-0110', |
| 37 | ++ 'upgrade-system-tests-10', |
| 38 | ++ 'upgrade-system-tests-11', |
| 39 | ++ 'upgrade-system-tests-20', |
| 40 | ++ 'upgrade-system-tests-21', |
| 41 | ++ 'upgrade-system-tests-22', |
| 42 | ++ 'upgrade-system-tests-23', |
| 43 | ++ 'upgrade-system-tests-24', |
| 44 | ++ 'upgrade-system-tests-25', |
| 45 | ++ 'upgrade-system-tests-26', |
| 46 | ++ 'upgrade-system-tests-27', |
| 47 | ++ 'upgrade-system-tests-28', |
| 48 | ++ 'upgrade-system-tests-30', |
| 49 | ++ 'upgrade-system-tests-31', |
| 50 | ++ 'upgrade-system-tests-32', |
| 51 | ++ 'upgrade-system-tests-33', |
| 52 | ++ 'upgrade-system-tests-34', |
| 53 | ++ 'upgrade-system-tests-35', |
| 54 | ++ 'upgrade-system-tests-36', |
| 55 | ++ 'upgrade-system-tests-37', |
| 56 | ++ 'upgrade-system-tests-38', |
| 57 | ++ 'upgrade-system-tests-39', |
| 58 | ++ 'upgrade-system-tests-40', |
| 59 | ++ ] |
| 60 | + } |
| 61 | +- |
| 62 | ++ |
| 63 | + ext { |
| 64 | + minClientJavaVersion = 11 |
| 65 | + minNonClientJavaVersion = 17 |
0 commit comments