generics resolution extracted to separate lib
update gradle and checkstyle