Skip to content

Commit 84ee3ea

Browse files
committed
deps: move checkstyle dependency to version catalog
1 parent c977006 commit 84ee3ea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ subprojects {
107107
}
108108

109109
extensions.configure<CheckstyleExtension> {
110-
toolVersion = "10.6.0"
110+
toolVersion = rootProject.libs.versions.checkstyleTools.get()
111111
}
112112

113113
extensions.configure<SpotlessExtension> {

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
shadow = "7.1.2"
55
blossom = "1.3.1"
66
spotless = "6.12.1"
7+
checkstyleTools = "10.9.3"
78

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

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

4447
[plugins]
4548

0 commit comments

Comments
 (0)