idea 13 gradle multiproject setup with android module

Hi everybody,

I am trying to import gradle project with 4 subprojects. One of those is android project (gradle with android plugin).
However, after I import gradle project to IDEA 13 all sort of problems arise.
First, when using "gradle idea" task, AndroidGradle facet is generated in all modules while it should be generated only for android subproject.
Second, when trying to build tje project, android apk build fails , reporting duplicate dependencies being added to apk.
Third, IDEA is reporting internal IDE error. It says that Android support plugin throws NPE and it suggests to disable it.

It seems that IDEA 13 still has many issues with gradle, at least in this kind of setup.
Anybody have similar setup that works OK?

Please sign in to leave a comment.