Updating jar build target in gradle.