mirror of
https://github.com/imcarlost/Friendlists.git
synced 2026-04-10 02:46:54 -04:00
implement detekt
This commit is contained in:
19
build.gradle
19
build.gradle
@@ -13,10 +13,29 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "io.gitlab.arturbosch.detekt" version "1.5.0"
|
||||
}
|
||||
|
||||
allprojects {
|
||||
addRepos(repositories)
|
||||
}
|
||||
|
||||
detekt {
|
||||
version = "1.5.0"
|
||||
autoCorrect = true
|
||||
failFast = false
|
||||
config = files("$rootDir/tools/detekt.yml")
|
||||
input = files(rootProject.projectDir)
|
||||
|
||||
reports {
|
||||
html {
|
||||
enabled = true
|
||||
destination = file("$rootDir/build/reports/detekt")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user