Modified gradle file for building library