-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Not clear checkModules instruction: Gradle Plugin fails with NPE #767
Comments
For Android projects to proper check DI graph, you need to run the test using Robolectric or run it on an Android device |
Yeap, now it works without NPE & says that modules are checked. Thank you. Although the guide remain incomplete. I purposely remove one of my dependencies from the DI-graph, 'cause I want to see an error message about missing dependency. And... nothing. Test completed successfully. So I don't understand what's the point of the Gradle script & tests. |
The Koin Gradle offers a I've just done the fix for |
I'm running 2.1.6 but I still find errors in my module
Running with
When I do Maybe I need to wait for |
I think I found the reason, it may be because I have flavors on my sample module.
Sounds like a candidate for a separate issue, right? |
Describe the bug
I found out very interesting feature — checkModules Gradle plugin from Koin.
But unfortunately executing Gradle task "checkModules" leads to NPE.
I'm sure the guide is not clear.
That's the error:
To Reproduce
gradlew checkModules
Expected behavior
Correct work of the command "checkModules", without NPE.
Koin project used and used version (please complete the following information):
The text was updated successfully, but these errors were encountered: