[Gradle] Enable jar builds.