Modified gradle file for building it as a library project