add gradle build

ability to build with `gradle jar`