attribute desugar_jdk_libs, which the licence collector cannot see

desugar_jdk_libs is bundled by core library desugaring rather than the
runtime classpath, so it never reached the generated licence list. Add it
plus its GPL-2.0-with-Classpath-Exception text via the plugin's manual
config directory.
This commit is contained in:
austinried
2026-10-04 00:30:05 +00:00
parent edb1eb8a68
commit d7cf0e2f4a
3 changed files with 19 additions and 0 deletions
+6
View File
@@ -76,6 +76,12 @@ ksp {
arg("room.schemaLocation", "$projectDir/schemas")
}
aboutLibraries {
collect {
configPath = file("config")
}
}
val integrationTestClasses =
listOf(
"com.subtracks.data.source.subsonic.SubsonicSourceIntegrationTest",
@@ -0,0 +1,7 @@
{
"uniqueId": "com.android.tools:desugar_jdk_libs",
"name": "Desugar JDK Libs",
"description": "Backports of newer java.* APIs, bundled into the app at build time by core library desugaring. It is not on the runtime classpath, so the license collector cannot discover it automatically.",
"website": "https://github.com/google/desugar_jdk_libs",
"licenses": ["GPL-2.0-with-classpath-exception"]
}
File diff suppressed because one or more lines are too long