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")
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ subprojects { module ->
|
|||
warningsAsErrors true
|
||||
abortOnError true
|
||||
textReport true
|
||||
ignore 'Overdraw'
|
||||
ignore 'Overdraw', 'NewerVersionAvailable', 'GradleDependency'
|
||||
textOutput "stdout"
|
||||
}
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ subprojects { module ->
|
|||
warningsAsErrors true
|
||||
abortOnError true
|
||||
textReport true
|
||||
ignore 'Overdraw'
|
||||
ignore 'Overdraw', 'NewerVersionAvailable', 'GradleDependency'
|
||||
textOutput "stdout"
|
||||
}
|
||||
}
|
||||
|
|
@ -27,7 +27,7 @@ subprojects { module ->
|
|||
warningsAsErrors true
|
||||
abortOnError true
|
||||
textReport true
|
||||
ignore 'Overdraw'
|
||||
ignore 'Overdraw', 'NewerVersionAvailable', 'GradleDependency'
|
||||
textOutput "stdout"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ project.ext {
|
|||
androidx_constraintlayout_version = "2.1.3"
|
||||
androidx_livedata_version = "2.4.0"
|
||||
androidx_swiperefreshlayout_version = "1.1.0"
|
||||
room_version = "2.4.2"
|
||||
room_version = "2.4.3"
|
||||
activity_ktx_version = "1.4.0"
|
||||
androidx_navigation = "2.4.0"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue