Updated Gradle build files to support latest SDK