-
Notifications
You must be signed in to change notification settings - Fork 28
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
NPE: Must provide a scope supplier #179
Comments
As a workaround a project needs to be split into a root project and a single submodule. The root project then applies reckon plugin and the single submodule applies java-library plugin. |
Just found #147 Sorry for the duplicate. But given that it is super easy to be hit by that exception and it is tough to figure out what to do to fix it, you might want to keep this issue open until some documentation / important notice has been added to the README. I feel like many people will stumble upon that issue in simple projects which only use built-in Gradle plugins. |
So have an overview of solutions: Instead of:
you have to do
or you can do (multi-module style with one or more modules)
But even with the above some other plugins might trigger the issue again. |
Using Gradle 7.4.2 and the basic example
results in
The text was updated successfully, but these errors were encountered: