Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 build.gradle 文件中使用 PMD Gradle 插件。有没有办法禁用 pmdTest 任务,使其不运行我执行gradle check?
gradle check
编辑:在问题中我说“删除”。我的意思是“禁用”。
pmd { sourceSets = [sourceSets.main] }
请参阅Gradle 构建语言参考中的PmdExtension。