Hello, all
I stuck with a problem with a new great build system. I asked a quiestion on stackoverflow but anybody can't help me (link)
The problem is with circular dependencies between the modules. I have an android app module and android library module which depends on each other. IntelliJ IDEA in project settings warn me about this, but succesfully builds my project. The problem is that I can't create the same build configuration with gradle. If I declare circular dependency in my build.gradle files I've get an error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> Module version project:app:unspecified depends on libraries but is not a library itself
How can I achieve the same result with new build system?