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