通过gradle运行JUNIT时出错

时间:2017-03-06 14:00:32

标签: gradle build.gradle

使用gradle运行Junit时,我收到错误beloe。

Could not resolve all dependencies for configuration ':apilink:testCompile'.
> Could not find powermock-module-junit4:version:1.6.0.

1 个答案:

答案 0 :(得分:0)

您声明无法找到无效的依赖项。不正确的部分是'powermock-module-junit4:version:1.6.0'。这应该是'org.powermock:powermock-module-junit4:1.6.0'