Gradle build and update dependencies.