Upgraded dependencies to java 8.