Skip to content

Commit c408c4c

Browse files
committed
Fix gradle build file
1 parent b4c7166 commit c408c4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.cyclonedx.model.ProjectType
2+
13
plugins {
24
id "java"
35
id "eclipse"
@@ -38,7 +40,7 @@ sonar {
3840
}
3941

4042
tasks.cyclonedxDirectBom {
41-
projectType = "application"
43+
projectType = ProjectType.APPLICATION
4244
includeConfigs = listOf("runtimeClasspath")
4345
licenseChoice = LicenseChoice().apply {
4446
addLicense(License().apply {

0 commit comments

Comments
 (0)