Gradle and Java 10
If you run your Gradle builds under Java 10 - forget about your environment variables. Anything you set is just ignored. The only cure I found so far is disabling Gradle daemon with export GRADLE_OPTS='-Dorg.gradle.daemon=false'