--rerun-tasks 和 --refresh-dependencies 之间的区别

Difference between --rerun-tasks and --refresh-dependencies

我想知道两者之间有什么区别,--rerun-tasks 刷新所有依赖项还是在本地使用它?

我觉得你很困惑 application dependencies between task dependencies

根据 docs:

This will force test and all task dependencies of test to execute.

因此 --rerun-tasks 与您为应用程序定义的依赖项无关。