Fix Gradle Jar building.