Adding build for JAR.