Fix up the maven repo for gradle 1.8 and above