Skip to content

Commit

Permalink
mozilla-mobile#6350. Upgrade detekt to 1.7.4
Browse files Browse the repository at this point in the history
And long constructors to baseline
  • Loading branch information
dector committed May 24, 2020
1 parent 436156e commit df0e5d8
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 191 deletions.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ buildscript {
}

plugins {
id("io.gitlab.arturbosch.detekt").version("1.0.1") // Check version number in `Versions.detekt`
id("io.gitlab.arturbosch.detekt").version("1.7.4") // Check version number in `Versions.detekt`
}

allprojects {
Expand Down Expand Up @@ -277,6 +277,8 @@ detekt {
config = files("$projectDir/config/detekt.yml")
baseline = file("$projectDir/config/detekt-baseline.xml")

failFast = false

reports {
html {
enabled = true
Expand All @@ -285,6 +287,9 @@ detekt {
xml {
enabled = false
}
txt {
enabled = false
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object Versions {
const val android_gradle_plugin = "3.5.3"
const val android_maven_publish_plugin = "3.6.2"
const val lint = "26.3.2"
const val detekt = "1.2.2"
const val detekt = "1.7.4"

const val sentry = "1.7.21"
const val okhttp = "3.13.1"
Expand Down
Loading

0 comments on commit df0e5d8

Please sign in to comment.