[6.1.0] close pmd of kotlin detekt
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user