PR#121 Fix codeAnalysis issues fix reporting for new module

This commit is contained in:
Gergely Hegedus 2022-09-23 14:29:37 +03:00
parent 00e7a806eb
commit 93facd1f1b
8 changed files with 22 additions and 12 deletions

View file

@ -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")