Added gradle support for library