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

问题描述

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

./gradlew ktlintFormat

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

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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)