Set Java to 1.7 and update dependencies.