building on java 6, gradle 2.1