added gradle support.