[6.1.0] close pmd of kotlin detekt

This commit is contained in:
zhongchao
2023-10-07 11:54:46 +08:00
parent 572656a19f
commit 51493b6c49
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
<!--https://pmd.github.io/pmd-5.6.1/pmd-java/index.html-->
<exclude-pattern>.*.kt</exclude-pattern>
<exclude-pattern>.*/R.java</exclude-pattern>
<exclude-pattern>.*/gen/.*</exclude-pattern>
<exclude-pattern>.*Dagger*.*</exclude-pattern>

View File

@@ -12,7 +12,7 @@ task pmd(type:Pmd){
//检测资源路径
source 'src/main/java','src/jinlvvan/java','src/driverm1/java'
//排除项
exclude '**/gen/**'
exclude '**/gen/**,*.kt'
reports {
xml.getRequired().set(false)