commented out code that is causing gradle build to fail on oracalJava7