Google People API - Standard eg has compile error

gradle-3127
buildship

(Leviya) #1

hi,
I tried the following Google People API eg:

https://developers.google.com/people/quickstart/java

and the Gradle build step fails with a compilation error:

import com.google.api.services.people.v1.PeopleScopes; not found;

Can anyone tell me the correct line here, or is there a dependency missing from the Gradle Build file shown in the example. build gradle dependencies below:

dependencies {
compile 'com.google.api-client:google-api-client:1.22.0’
compile 'com.google.oauth-client:google-oauth-client-jetty:1.22.0’
compile ‘com.google.apis:google-api-services-people:v1-rev140-1.22.0’
}