mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments
http://mikepenz.github.io/AboutLibraries/
Apache License 2.0
3.59k stars 419 forks source link

OFL not found #1005

Closed ferhatozcelik closed 2 weeks ago

ferhatozcelik commented 2 weeks ago

SIL OPEN FONT LICENSE not found

OFL-1.1 https://opensource.org/license/OFL-1.1

aboutLibraries { allowedLicenses = ["OFL-1.0", "https://opensource.org/licenses/OFL-1.1"] }

[## About this issue

Details

Checklist

mikepenz commented 2 weeks ago

Can you please provide more information. What is not found?

ferhatozcelik commented 2 weeks ago

build.gradle

aboutLibraries { allowedLicenses = ["OFL-1.0", "https://opensource.org/licenses/OFL-1.1"] }

When I add it this way, it is not added to the licenses, so is there no need to add this in the json file, according to the gradle configuration?

mikepenz commented 2 weeks ago

This configuration will allow the given license to be used by libraries, however, it won't add it. This is only effective when the strict mode is enabled:

    // Define the strict mode, will fail if the project uses licenses not allowed
    // - This will only automatically fail for Android projects which have `registerAndroidTasks` enabled
    // For non Android projects, execute `exportLibraryDefinitions`
    strictMode = com.mikepenz.aboutlibraries.plugin.StrictMode.FAIL
    // Allowed set of licenses, this project will be able to use without build failure
    allowedLicenses = ["Apache-2.0", "asdkl"]