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

ExcludeTransitiveDependenciesFilter causes generateLicenseReport to fail #302

Open
bitPogo opened this issue May 7, 2024 · 0 comments
Open

Comments

@bitPogo
Copy link

bitPogo commented May 7, 2024

First of all thanks for the plugin!

I am currently facing following error:

> Task :generateLicenseReport FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':generateLicenseReport'.
> Configuration with name '_internal-unified-test-platform-android-device-provider-ddmlib' not found.

Which is caused by the ExcludeTransitiveDependenciesFilter.
The project consists of 3 example modules right now - one java, one android library and one android application module.

The configuration of the plugin is the following:

extensions.getByType(LicenseReportExtension::class.java).apply {
    allowedLicensesFile = File(project.projectDir, "gradle/license/allowed.json")
    filters = arrayOf(
        ExcludeTransitiveDependenciesFilter()
    )
    configurations = LicenseReportExtension.ALL
}

It will try to make reproducer these days but wanted to report it beforehand.

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

1 participant