adds uploadArchives task to gradle build for uploading to a maven repo