File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
tools/curations/buildSrc/src/main/kotlin Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,12 @@ private val OVERRIDE_LICENSE_CATEGORIES = mapOf(
58
58
59
59
// ScanCode does not provide categories for pairs of licenses and their belonging exceptions. So, hard-code some:
60
60
private val LICENSE_EXCEPTION_CATEGORIZATIONS = listOf (
61
- " Apache-2.0 WITH Swift-exception" to CATEGORY_PERMISSIVE
61
+ " Apache-2.0 WITH Swift-exception" to CATEGORY_PERMISSIVE ,
62
+ " GPL-2.0-only WITH Classpath-exception-2.0" to CATEGORY_COPYLEFT_LIMITED ,
63
+ " GPL-2.0-or-later WITH Classpath-exception-2.0" to CATEGORY_COPYLEFT_LIMITED ,
64
+ " GPL-3.0-only WITH Classpath-exception-2.0" to CATEGORY_COPYLEFT_LIMITED ,
65
+ " GPL-3.0-only WITH Autoconf-exception-3.0" to CATEGORY_COPYLEFT ,
66
+ " GPL-3.0-or-later WITH Classpath-exception-2.0" to CATEGORY_COPYLEFT_LIMITED
62
67
).map { (license, category) ->
63
68
LicenseCategorization (
64
69
id = SpdxSingleLicenseExpression .parse(license),
You can’t perform that action at this time.
0 commit comments