I have a Gradle project. It uses Gradle version 5.5.1. When I run using a Gradle type Run Configuration that simply ends up building a jar file, there are no warnings. When I run using an Application type Run Configuration, it runs fine, but I get this warning:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
I'm trying to tack down why I'm getting that warning. So, my first question is how do set '--warning-mode all' so Gradle will use it when I run my app using an Application type of Run Configuration? When I go to Settings > Gradle, I don't see where I can add Gradle options like this. I tried adding ORG_GRADLE_WARNING_MODE=all to the "Environment variables" field in the Run Configuration, but that didn't do anything.
I got a similar warning when this project was using Gradle 4 too, except in that case it said "...incompatible with Gradle 5.0".