A bunch of gradle fixes and POM changes to be our library