Small build fix

Just using Gradle defined Java 7.