Add gradle support.