Update gradle for maven uploading