PR#121 Fix codeAnalysis issues fix reporting for new module
This commit is contained in:
parent
00e7a806eb
commit
93facd1f1b
8 changed files with 22 additions and 12 deletions
|
|
@ -4,8 +4,14 @@ detekt {
|
|||
|
||||
def projectPaths = subprojects.collect {
|
||||
def projectName = it.name
|
||||
"$projectDir/$projectName/src/main/java"
|
||||
}
|
||||
if (it.subprojects.isEmpty()) {
|
||||
"$projectDir/$projectName/src/main/java"
|
||||
} else {
|
||||
it.subprojects.collect { sub ->
|
||||
"$sub.projectDir//src/main/java"
|
||||
}
|
||||
}
|
||||
}.flatten()
|
||||
|
||||
source = files(*projectPaths)
|
||||
config = files("$projectDir/detekt/detekt.yml")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue