novoda/robolectric-plugin — pull request #7 by BurntBrunch (2013-07-28 17:29:41+00:00)
Title: Collect the dependencies from the variants and not the buildTypes

The Android-gradle API changed, this works around it. It's still pretty
bruteforce and I'm also ignoring variantDependency.getLocalDependency().

Lightly tested fix for builds on 0.5.