Fix Gradle release process.