setup library and example with gradle