<dependency>
<groupId>org.robolectric</groupId>
<artifactId>android-all</artifactId>
<version>7.0.0_r1-robolectric-r1</version>
</dependency>
@Grapes(
@Grab(group='org.robolectric', module='android-all', version='7.0.0_r1-robolectric-r1')
)
<parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>9</version> </parent>