Gradle build changes to be able to upload artifacts to Central