在哪里将缓存添加到任务?

时间:2018-10-19 15:17:50

标签: android kotlin

在启动命令时:

./gradlew :app:ktlintCheck --info

将错误输出到控制台:

Task :app:ktlintDebugAndroidTestCheck FAILED  
Caching disabled for task ':app:ktlintDebugAndroidTestCheck': Caching has not been enabled for the task  
Task ':app:ktlintDebugAndroidTestCheck' is not up-to-date because:  
Task has not declared any outputs.

可能是什么原因?

0 个答案:

没有答案