improving gradle build for jar
fixing chain mapper types
latest jars