-
Notifications
You must be signed in to change notification settings - Fork 113
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
downloadLicenses fails in gradle 3.4.1 #134
Comments
same issue here |
Thanks for reporting this. I will have a look at this asap |
The proposed solution seems worked out for me. |
Thanks @ejohansson! |
Running into this issue again when I have this line in my project
I'm on Gradle 4.10. |
@imrimt to solve the problem you just need to change the compile to implementation
|
We recently upgraded our project to gradle 3.4.1 and
downloadLicenses
started failing with the following exception:I noticed that
DefaultSelfResolvingDependency.java
hadgetSource
method in gradle 2.14 and it’s not there in gradle 3.4.1. It looks like that was changed in 3.3 (see gradle/gradle@9e20cfe).Should
license-gradle-plugin
callFileCollectionDependency.files
or evenFileCollectionDependency.resolve
instead ofFileCollectionDependency.source
in LicenseResolver.groovy#L164 ?The text was updated successfully, but these errors were encountered: