update to Java with Gradle build