Add Gradle build files.

Adding basic support for building with Gradle.