<dependency>
<groupId>org.robolectric</groupId>
<artifactId>android-all</artifactId>
<version>o-preview-2-robolectric-0</version>
</dependency>
@Grapes(
@Grab(group='org.robolectric', module='android-all', version='o-preview-2-robolectric-0')
)
<parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent>