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

CacheableReportTask is always up to date after dependency changes when plugin is configured to analyse all configurations #273

Open
erdi opened this issue Aug 10, 2023 · 0 comments

Comments

@erdi
Copy link

erdi commented Aug 10, 2023

This is because the code in com.github.jk1.license.task.CacheableReportTask#getClasspath does not account for com.github.jk1.license.LicenseReportExtension#configurations being set to empty array unlike how com.github.jk1.license.reader.ProjectReader#findConfigurationsToScan does. If com.github.jk1.license.LicenseReportExtension#configurations is set to an empty array then all configurations are being analysed but in that case com.github.jk1.license.task.CacheableReportTask#getClasspath will be an empty file collection.

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