Revert "Add Maven upload support to the Gradle build"

This reverts commit c2c76527e21af5cb04df48ce668149e0eaffe5dd.