Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown license: GNU General Public License, version 2, with the Classpath Exception #869

Closed
fede87 opened this issue Apr 20, 2023 · 2 comments
Assignees

Comments

@fede87
Copy link

fede87 commented Apr 20, 2023

Issue

GNU General Public License, version 2, with the Classpath Exception
seems not to be recognized as a valid license.

Specified license is available here

AboutLibraries version

plugins {
    id "com.mikepenz.aboutlibraries.plugin" version "10.6.2"
}

Steps to reproduce

./gradlew exportLibrariesRelease

At bottom of the command output are found the following lines:

UNKNOWN LICENSES:
GNU General Public License, version 2, with the Classpath Exception
-- [com.android.tools:desugar_jdk_libs:1.1.5]
@mikepenz
Copy link
Owner

The name seems to differ rom the known licenses as retrieved from the SPDX identifier: https://github.com/mikepenz/AboutLibraries/blob/develop/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/mapping/SpdxLicense.kt#L173-L178

    <license>
      <name>GNU General Public License, version 2, with the Classpath Exception</name>
      <url>https://github.com/google/desugar_jdk_libs/blob/master/LICENSE</url>
      <distribution>repo</distribution>
    </license>

https://spdx.org/licenses/

Licenses not available via SPDX can be provided manually: https://github.com/mikepenz/AboutLibraries#licenses

@mikepenz mikepenz self-assigned this Apr 21, 2023
@mikepenz
Copy link
Owner

mikepenz commented May 4, 2023

The license can be provided like it's shown here: 69b5735

(Similar to how the Android Software Development Kit License Agreement one is provided in the demo)

Long-term we are looking in expanding to SpdxLicense 2.0 which has a new exception handling - #878

@mikepenz mikepenz closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants