Setup Detekt
This commit is contained in:
parent
5c8549575f
commit
e11a2b5341
2 changed files with 112 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ plugins {
|
|||
alias(libs.plugins.ksp)
|
||||
id("com.google.firebase.appdistribution") version "3.0.2"
|
||||
id("org.jlleitschuh.gradle.ktlint") version "11.0.0"
|
||||
id("io.gitlab.arturbosch.detekt") version "1.22.0"
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -155,6 +156,17 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
detekt {
|
||||
// preconfigure defaults
|
||||
buildUponDefaultConfig = true
|
||||
// activate all available (even unstable) rules.
|
||||
allRules = true
|
||||
// point to your custom config defining rules to run, overwriting default behavior
|
||||
config = files("$rootDir/tools/detekt/detekt.yml")
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":libraries:designsystem"))
|
||||
implementation(project(":libraries:matrix"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue