add gradle support
Merge pull request #20 from dodocat/develop

Added gradle support.