File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 77- Add ` tk sbom ` for Maven and Gradle project to generate SBOM with CycloneDX format: ` target/application.cdx.json ` or
88 ` build/application.cdx.json `
99
10+ Please check ` $HOME/.gradle/init.d/plugins.gradle ` with the following code:
11+
12+ ```
13+ initscript {
14+ repositories {
15+ gradlePluginPortal()
16+ }
17+
18+ dependencies {
19+ classpath 'com.github.ben-manes:gradle-versions-plugin:0.53.0'
20+ classpath 'org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:3.0.1'
21+ }
22+ }
23+
24+ allprojects {
25+ apply plugin: com.github.benmanes.gradle.versions.VersionsPlugin
26+ apply plugin: org.cyclonedx.gradle.CyclonedxPlugin
27+
28+ tasks.named("dependencyUpdates").configure {
29+ // configure the task, for example wrt. resolution strategies
30+ }
31+
32+ // https://github.com/CycloneDX/cyclonedx-gradle-plugin/tree/master?tab=readme-ov-file#advanced-configuration
33+ tasks.named("cyclonedxDirectBom").configure {
34+ jsonOutput.set(file("build/application.cdx.json"))
35+ projectType = "application"
36+ }
37+ }
38+ ```
39+
1040## [ 0.30.7] - 2025-10-19
1141
1242- Add ` [tool.rye.scripts] ` : https://rye.astral.sh/guide/pyproject/#toolryescripts
You can’t perform that action at this time.
0 commit comments