Configure project for Gradle build system.