Gradle uploadArchives task fix