<dependency>
<groupId>org.robolectric</groupId>
<artifactId>shadows-play-services</artifactId>
<version>3.1.1</version>
</dependency>
@Grapes(
@Grab(group='org.robolectric', module='shadows-play-services', version='3.1.1')
)
compile
|-- org.robolectric:robolectric:3.1.1
|-- org.robolectric:shadows-core-v23:3.1.1
|-- com.android.support:support-v4:23.2.0
|-- com.google.android.gms:play-services-base:8.4.0
|-- com.google.android.gms:play-services-basement:8.4.0
test
|-- org.hamcrest:hamcrest-core:1.3