Update build.gradle for new maven-publish plugin

Also changed upload locations