add gradle support