Is it possible to add a compiler settings to .gradlew clean test
? I don't want to modify gradle.build as I want to have cleaner console output and not see all compilation warnings / deprecations.
I found here: Gradle - compileJava - remove compile Warnings that I could add:
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
in build.gradle but is tthere an option to pass that in command line directly?