also how do I disable build progress logs?
# gradle
k
also how do I disable build progress logs?
I tried
org.gradle.logging.level=quiet
in
gradle.prporeties
but it still print the logs
v
Depends how you run it. The default output level is very quiet already, except if you use too verbose plugins as it should not hide warnings and errors. It is not as quiet as the quiet log level, but usually sufficient. If you get more verbose output and even if you see that property, you are probably running with
-i
or
--info
parameter as this overwrites the level to info which is much more verbose than default.
k
When I run from terminal
gradlew run --quiet
it works fine but again when I use the green run icon in Intellij it give all build progress
v
again
Why again? You didn't mention that. ;-) I don't think you can suppress that. IntelliJ delegates to Gradle for running and testing by default. For testing it creates a real Gradle run configuration that you can edit or edit the defaults so that newly created automatically get the settings. But for building / running there is no actual run configuration generated but only one used behind the scenes and that you cannot influence. You would need to post a feature request to JetBrains for that if none exists yet. There is nothing you can do on the Gradle side if IntelliJ asks for verbose output. The only thing you could do is to disable the build/run delegation to Gradle and use the built-in compiler instead, but usually I wouldn't recommend that unless you have a very good reason.
k
Now I got it, thanks for the explanation @Vampire