Unsetting JAVA_OPTS in gradlew didn't fix Jenkins