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
Add support for newer versions of Gradle #9
Comments
Hey @shollander Thanks for your feedback! Can you provide me with a example |
@mdietrichstein It can be any dependency that does not have a javadoc or sources jar. For example:
|
I have created a small testproject which includes the dependency you have mentioned. It works fine for me (MacOSX, Java 1.8.0_112, gradle 4.5 and 4.6). Could you download the attached project, run That would help me a lot with debugging the issue, thanks! |
I can't reproduce it now with that dependency unfortunately. It seems that my nexus repo has cached that result in some way that now it is happy. However I can still reproduce it with other dependencies, for example This is part of the stacktrace that I am seeing:
|
I encountered the same error too. I ran the task wit --stacktrace --debug options as you wished. The whole output is rather large and irrelevant as the problem occurs at the end when all dependencies are already fetched. Here is the relevant part of output (nearly at the end). 21:05:45.930 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Execute run for :updateOfflineRepository' |
I still wasn't able to reproduce this error, but I could at least identify a possible cause: The plugin did not handle occurrences of I have added a few additional checks. With version Let me know if this helps. |
@mdietrichstein That fixed it for me. I can now use the plugin with Gradle 4.7. Thanks! |
This plugin is really great - just what I need, thanks for you work!
Unfortunately, when using it with newer versions of gradle (4.5 for example), it fails with the following error when some sources or javadocs are missing:
The text was updated successfully, but these errors were encountered: