Change to JDK 7, tweak Gradle