Skip to content

Commit ef3db3f

Browse files
committed
🔒️ Legg til cyclonedxBom for å kunne sende avhengighetsgraf til GitHub Security
1 parent 78e7af3 commit ef3db3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ plugins {
77
id("com.diffplug.spotless") version "7.0.1"
88
id("com.github.ben-manes.versions") version "0.51.0"
99
id("se.patrikerdes.use-latest-versions") version "0.2.18"
10+
id("org.cyclonedx.bom") version "1.10.0"
1011
}
1112

1213
allprojects {
@@ -99,3 +100,7 @@ subprojects {
99100
sourceSets["main"].resources.srcDirs("main")
100101
sourceSets["test"].resources.srcDirs("test")
101102
}
103+
104+
tasks.cyclonedxBom {
105+
setIncludeConfigs(listOf("runtimeClasspath", "compileClasspath"))
106+
}

0 commit comments

Comments
 (0)