added gradle support to library