Here is my case: https://stackoverflow.com/q/58318259/345810
And I have to list all the dependencies, or use the “api” keyword.
I think this is a very common case. Since no one designs the API in advance. At first it’s just an application (well, if there is an MVP architecture, Clean, etc), then the application develops like this:
application -> modules -> libraries -> API.