compile against java7, also update dependencies