fix #96 gradle build

@viktorklang : Should we support java 6 ?