Closed sergio-sastre closed 2 months ago
Thank you for the report.
By default the action will only resolve licenses that will be identified to their SPDX identifiers. (Specifically SPDX Identifiers v1)
There is however a built in function which uses GitHubs License API to retrieve the license content more correctly.
You can enable it by doing:
aboutLibraries {
fetchRemoteLicense = true
}
Please keep in mind that this uses the GitHub API so a gitHubApiToken
is advised to also be provided to not hit a rate limit.
And all of that is best paired disabling the registerAndroidTasks
and running and generating the file in a CI step or on demand. (So your team does not have to also configure a GitHub token / or it won't change when you don't want it to)
aboutLibraries {
registerAndroidTasks = true
}
E.g. running it for example like:
./gradlew app-desktop:exportLibraryDefinitions -PaboutLibraries.exportPath=src/main/resources/
Were you able to resolve the problem enabling fetchRemoteLicense=true
?
Sorry for not replying before. So we decided to handle such licenses manually for now.
I’m sure we’ll revisit this again in 1-2 months, but currently there are other tasks with higher priority.
I’ll let you know whenever we try this out but I think it won’t be soon 😅
Thanks for the response. Will close this for now in that case. Feel free to re-open at a later point
About this issue
I'd expect those licenses to return the content of the returned urls
Details