无法找到Gradle任务pmdMain

时间:2015-10-13 02:29:35

标签: android gradle android-gradle

尝试从gradle v2.7运行pmdMain任务。

在我的build.gradle文件中,我在引用maven repo之后有了这段代码:

apply plugin: 'pmd'

运行任务时出现的错误:

./gradlew pmdMain

FAILURE: Build failed with an exception.
* What went wrong:
Task 'pmdMain' not found in root project 

0 个答案:

没有答案