Skip to content

Commit

Permalink
Updates for building on JDK 17
Browse files Browse the repository at this point in the history
  • Loading branch information
hbmartin committed Nov 13, 2023
1 parent 1316fff commit dbab803
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 94 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.2")
detektPlugins("com.github.hbmartin:hbmartin-detekt-rules:0.1.3")
```

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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

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

dependencies {
compileOnly(libs.detekt.api)
Expand Down
92 changes: 0 additions & 92 deletions gradlew.bat

This file was deleted.

4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk17
install:
- ./gradlew :assemble :publishToMavenLocal

0 comments on commit dbab803

Please sign in to comment.