Update build.gradle for Java 8 support

Signed-off-by: Steven Downer <grinch@outlook.com>