Update gradle to 2.1 to fix issues with Java 8