gradle:如何压制" *出了什么问题:"," *尝试:"消息

时间:2017-05-20 05:46:26

标签: java gradle

Gradle节目" *出了什么问题:"," *尝试:"每次测试都失败的消息。

$ gradle test -q

2 tests completed, 1 failed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/gradle/app/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

我只想展示:

2 tests completed, 1 failed

FAILURE: Build failed with an exception.

如何抑制此提示消息?

0 个答案:

没有答案