Fixed Gradle build

The Gradle build failed because the specified Java and resources source directories (src/main/java and src/main/resources) do not exist and the newly added dependency to Google Play Services was missing.

I have also updated the build tools and the support library for the Gradle build.