Add support for gradle build system