Skip to content

Commit f029d6a

Browse files
authored
Add Bouncy Castle license in mapping (#104)
1 parent 457439d commit f029d6a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gradle-modules/src/main/kotlin/org/sonarsource/cloudnative/gradle/AnalyzerLicensingPackagingRenderer.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import java.nio.file.StandardOpenOption
2929
import java.util.ArrayList
3030

3131
private const val APACHE_LICENSE_FILE_NAME: String = "Apache-2.0.txt"
32+
private const val MIT_FILE_NAME: String = "MIT.txt"
33+
3234
val LICENSE_TITLE_TO_RESOURCE_FILE: Map<String, String> = buildMap {
3335
put("Apache License, Version 2.0", APACHE_LICENSE_FILE_NAME)
3436
put("Apache License Version 2.0", APACHE_LICENSE_FILE_NAME)
@@ -42,8 +44,9 @@ val LICENSE_TITLE_TO_RESOURCE_FILE: Map<String, String> = buildMap {
4244
put("GWT Terms", APACHE_LICENSE_FILE_NAME) // See https://www.gwtproject.org/terms.html
4345
put("GNU LGPL 3", "GNU-LGPL-3.txt")
4446
put("Go License", "Go.txt")
45-
put("MIT License", "MIT.txt")
46-
put("MIT", "MIT.txt")
47+
put("MIT License", MIT_FILE_NAME)
48+
put("MIT", MIT_FILE_NAME)
49+
put("Bouncy Castle Licence", MIT_FILE_NAME)
4750
put("0BSD", "0BSD.txt")
4851
put("GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1", "lgpl-2.1.txt")
4952
}

0 commit comments

Comments
 (0)