gradle - 在构建结束时控制 gradle 错误日志记录
问题描述
当gradle构建失败时,它会输出如下内容。有没有办法控制和/或抑制这种情况。当构建过程中已经报告了错误并且我想摆脱它时,我发现这个输出是不必要的。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':getInstructions'.
> Build aborted due to errors.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
解决方案
推荐阅读
- redis - 将 Redis 4 生成的 RDB 文件加载到 Redis 5 中
- node.js - 如何将 ReactJs + Node 应用程序部署到远程服务器上?
- r - 在R中的向量列表中减去类似命名的元素
- vba - 当我同时收到多封电子邮件时,如何修复路径错误,自动打印附件
- python - 无法调用 GCP Vision API
- python - 气流不能腌制 _thread._local 对象
- react-native - 如何在 React Native 中清理内存
- javascript - 去抖键输入?
- python - Python 桌面应用程序和远程 Django 服务器之间的通信
- javascript - 如何通过 http 请求创建具有匹配父 ID 的树结构