Skip to content

Commit

Permalink
deps: move checkstyle dependency to version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
derklaro committed Apr 7, 2023
1 parent c977006 commit 84ee3ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ subprojects {
}

extensions.configure<CheckstyleExtension> {
toolVersion = "10.6.0"
toolVersion = rootProject.libs.versions.checkstyleTools.get()
}

extensions.configure<SpotlessExtension> {
Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
shadow = "7.1.2"
blossom = "1.3.1"
spotless = "6.12.1"
checkstyleTools = "10.9.3"

# general
gson = "2.10.1"
Expand Down Expand Up @@ -40,6 +41,8 @@ paperLib = { group = "io.papermc", name = "paperlib", version.ref = "paperLib" }
protocolLib = { group = "com.github.dmulloy2", name = "ProtocolLib", version.ref = "protocolLib" }
packetEvents = { group = "com.github.retrooper.packetevents", name = "spigot", version.ref = "packetEvents" }

# dummy version, just here for renovate to detect that there is something to update
checkstyleTools = { group = "com.puppycrawl.tools", name = "checkstyle", version.ref = "checkstyleTools" }

[plugins]

Expand Down

0 comments on commit 84ee3ea

Please sign in to comment.