我的CI构建因检测到财产而失败
我最近刚刚在Android应用程序中将Arturbosch detekt库更新为1.20.0-rc1,但是当我使用bitrise CI工具运行构建时,我会收到此错误消息:
我已经检查了我的detekt配置文件和“格式化”正确拼写。可能是什么问题,我该如何解决。
我是我的gradle文件,我在此块中添加了自动更正行:
I just recently updated my arturbosch detekt library in my android app to 1.20.0-RC1 but when I run my build using bitrise CI tool, I get this error message:
I have checked my detekt config file and "formatting" is spelt correctly. What could be wrong and how do I resolve it.
I my gradle file, I added the autoCorrect Line in this block:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用
./ gradlew detektgenerateconfig
- detekt将生成适当的配置文件,但请记住,它将覆盖您的当前文件在此github 问题
Try to use
./gradlew detektGenerateConfig
- detekt will generate proper config file, but keep in mind it will override your current fileFound it in this github issue