Build with gradle 2.0 and compile with java 8