Initial support for building with gradle.