mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Exclude non-prod code from quality checks.
This commit is contained in:
@@ -52,6 +52,10 @@ allprojects {
|
|||||||
detektPlugins("io.nlopez.compose.rules:detekt:0.4.19")
|
detektPlugins("io.nlopez.compose.rules:detekt:0.4.19")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
|
||||||
|
exclude("io/element/android/tests/konsist/failures/**")
|
||||||
|
}
|
||||||
|
|
||||||
// KtLint
|
// KtLint
|
||||||
apply {
|
apply {
|
||||||
plugin("org.jlleitschuh.gradle.ktlint")
|
plugin("org.jlleitschuh.gradle.ktlint")
|
||||||
@@ -75,6 +79,7 @@ allprojects {
|
|||||||
val generatedPath = "${layout.buildDirectory.asFile.get()}/generated/"
|
val generatedPath = "${layout.buildDirectory.asFile.get()}/generated/"
|
||||||
filter {
|
filter {
|
||||||
exclude { element -> element.file.path.contains(generatedPath) }
|
exclude { element -> element.file.path.contains(generatedPath) }
|
||||||
|
exclude("io/element/android/tests/konsist/failures/**")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Dependency check
|
// Dependency check
|
||||||
|
|||||||
Reference in New Issue
Block a user