Skip to content

Commit 75ef513

Browse files
authored
Fix build
1 parent bdc287a commit 75ef513

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@ sonar {
4343
tasks.cyclonedxDirectBom {
4444
projectType = Component.Type.APPLICATION
4545
includeConfigs = ["runtimeClasspath"]
46-
licenseChoice = LicenseChoice().apply {
47-
addLicense(License().apply {
48-
name = "GPL-3.0-or-later"
49-
url = "https://spdx.org/licenses/GPL-3.0-or-later.html"
50-
})
51-
}
46+
licenseChoice = new LicenseChoice(licenses: [new License(name: "GPL-3.0-or-later", url: "https://spdx.org/licenses/GPL-3.0-or-later.html")])
5247
}
5348

5449
jar {

0 commit comments

Comments
 (0)