fix warnings
fix typo in pom
add gradle support