Skip to content

Commit

Permalink
Bump detekt version (#176)
Browse files Browse the repository at this point in the history
* Bump gradle and kotlin

Fixes issues #102 and #140.

* Fixup detekt and ktlint configuration

* Upgrade detekt and adapt some code to new rules

* Fixup excludes
  • Loading branch information
deejay1 authored Oct 6, 2020
1 parent b10a8e9 commit 43d51f5
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 541 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
id 'org.jetbrains.kotlin.plugin.allopen' version '1.3.72'
id "org.jlleitschuh.gradle.ktlint" version "9.4.0"
id "org.jlleitschuh.gradle.ktlint-idea" version "9.4.0"
id "io.gitlab.arturbosch.detekt" version "1.0.0"
id "io.gitlab.arturbosch.detekt" version "1.13.1"
}

apply plugin: 'io.codearte.nexus-staging'
Expand Down Expand Up @@ -131,9 +131,10 @@ subprojects {
}

detekt {
toolVersion = "1.0.0"
toolVersion = "1.13.1"
input = files("src/main/kotlin", "src/test/kotlin")
config = files("$rootDir/config/detekt/default-detekt-config.yml", "$rootDir/config/detekt/detekt-config.yml")
config = files("$rootDir/config/detekt/detekt.yml")
buildUponDefaultConfig = true
}
}

Expand Down
Loading

0 comments on commit 43d51f5

Please sign in to comment.