Gradle-License-Report
Gradle-License-Report copied to clipboard
ExcludeTransitiveDependenciesFilter causes generateLicenseReport to fail
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.