首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >任务':app:ktlintAndroidTestDebugSourceSetCheck‘的KtLint执行失败

任务':app:ktlintAndroidTestDebugSourceSetCheck‘的KtLint执行失败
EN

Stack Overflow用户
提问于 2021-05-22 17:44:17
回答 1查看 472关注 0票数 1

我使用gradle version7.0.0-beta01并遵循this guide将KtLint设置到我的项目中。但我在运行以下命令时遇到错误

代码语言:javascript
复制
./gradlew ktlintFormat

使用-stacktrace等工具运行似乎也没有多大帮助。这是我得到的错误。任何帮助都是非常感谢的。

代码语言:javascript
复制
Execution failed for task ':app:ktlintAndroidTestDebugSourceSetFormat'.
> Querying the mapped value of task ':app:ktlintAndroidTestDebugSourceSetFormat' property 'reporterOutputDir' before task ':app:ktlintAndroidTestDebugSourceSetFormat' has completed is not supported
EN

回答 1

Stack Overflow用户

发布于 2021-05-28 22:15:39

在更高版本的ktlint gradle插件中修复了此问题。您可以向下访问9.2.1或向上访问10.0.0See this issue

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67648063

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档