Add support for Gradle.