Skip to content

Commit 01517be

Browse files
committed
chore: polishing
1 parent 27e319c commit 01517be

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,36 @@
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

0 commit comments

Comments
 (0)