Skip to content

Commit

Permalink
Upgrade Detekt to 1.23.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hbmartin committed Nov 28, 2023
1 parent dbab803 commit 71b500a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ These are my opinions. There are many like them but these are mine. 😄

Inside of your `dependencies` block add the following: (for more details see [adding more rule sets](https://github.com/detekt/detekt#adding-more-rule-sets))
```kotlin
detektPlugins("com.github.hbmartin:hbmartin-detekt-rules:0.1.3")
detektPlugins("com.github.hbmartin:hbmartin-detekt-rules:0.1.4")
```

Then add to your detekt configuration as in the section below to activate rules. Note that the AvoidFirstOrLastOnList and AvoidMutableCollections rules require [type resolution](https://detekt.dev/docs/gettingstarted/type-resolution) to be active.
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
plugins {
kotlin("jvm") version "1.9.20"
kotlin("jvm") version "1.9.21"
`maven-publish`
alias(libs.plugins.detekt)
jacoco
id("com.github.ben-manes.versions") version "0.49.0"
id("com.github.ben-manes.versions") version "0.50.0"
}

group = "me.haroldmartin.detektrules"
version = "0.1.3"
version = "0.1.4"

dependencies {
compileOnly(libs.detekt.api)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
detekt = "1.23.3"
detekt = "1.23.4"

[libraries]
detekt-api = { group = "io.gitlab.arturbosch.detekt", name = "detekt-api", version.ref = "detekt" }
Expand Down

0 comments on commit 71b500a

Please sign in to comment.