Skip to content

Commit faf1777

Browse files
Update java dependencies (#256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Will Molloy <[email protected]>
1 parent b179780 commit faf1777

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ allprojects {
5959
// TODO Kotlin/Scala alternative?
6060
apply(plugin = "checkstyle")
6161
configure<CheckstyleExtension> {
62-
toolVersion = "10.12.0"
62+
toolVersion = rootProject.libs.versions.checkstyle.get()
6363
configFile = rootProject.file("./checkstyle.xml")
6464
configProperties = mapOf("suppressionFile" to rootProject.file("./checkstyle-suppressions.xml"))
6565
maxErrors = 0

checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@
358358
-->
359359
<module name="RegexpSinglelineJava">
360360
<property name="format"
361-
value="import.*(?&lt;!com\.google\.common\.truth\.Truth8?\.)(A|a)ssert(?!.*(Throws|DoesNotThrow|All|fail))"/>
361+
value="import.*(?&lt;!com\.google\.common\.truth\.Truth\.)(A|a)ssert(?!.*(Throws|DoesNotThrow|All|fail))"/>
362362
<property name="ignoreComments" value="true"/>
363363
<property name="message" value="Use com.google.truth.Truth assertions."/>
364364
</module>

gradle/libs.versions.toml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,37 @@
1-
[plugins]
2-
spotless = { id = "com.diffplug.spotless", version = "7.1.0" }
3-
spotbugs = { id = "com.github.spotbugs", version = "6.2.1" }
4-
buildtimetracker = { id = "com.asarkar.gradle.build-time-tracker", version = "5.0.1" }
5-
testsets = { id = "org.unbroken-dome.test-sets", version = "4.1.0" }
6-
71
[versions]
8-
spotbugs = "4.9.3"
9-
log4j = "2.25.0"
2+
log4j = "2.25.1"
103
guava = "33.4.8-jre"
4+
spotbugs-annotations = "4.9.4"
115
# test libs
126
junit = "5.13.3"
137
truth = "1.4.4"
14-
mockito = "5.18.0"
8+
mockito = "5.19.0"
159
# langs
1610
scala = "3.7.1"
17-
kotlin = "2.1.0"
11+
kotlin = "2.2.10"
12+
# plugins
13+
spotless = "7.2.1"
14+
checkstyle = "10.12.0"
15+
spotbugs-plugin = "6.2.5"
16+
buildtimetracker = "5.0.1"
17+
testsets = "4.1.0"
1818

1919
[libraries]
20-
spotbugs-annotations = { module = "com.github.spotbugs:spotbugs-annotations", version.ref = "spotbugs" }
2120
log4j-core = { module = "org.apache.logging.log4j:log4j-core", version.ref = "log4j" }
2221
log4j-api = { module = "org.apache.logging.log4j:log4j-api", version.ref = "log4j" }
2322
log4j-slf4j2 = { module = "org.apache.logging.log4j:log4j-slf4j2-impl", version.ref = "log4j" }
2423
guava = { module = "com.google.guava:guava", version.ref = "guava" }
24+
spotbugs-annotations = { module = "com.github.spotbugs:spotbugs-annotations", version.ref = "spotbugs-annotations" }
2525
# test libs
2626
junit = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
2727
truth = { module = "com.google.truth:truth", version.ref = "truth" }
2828
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
2929
mockito-junit = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockito" }
3030
# scala
3131
scala-library = { module = "org.scala-lang:scala3-library_3", version.ref = "scala" }
32+
33+
[plugins]
34+
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
35+
spotbugs = { id = "com.github.spotbugs", version.ref = "spotbugs-plugin" }
36+
buildtimetracker = { id = "com.asarkar.gradle.build-time-tracker", version.ref = "buildtimetracker" }
37+
testsets = { id = "org.unbroken-dome.test-sets", version.ref = "testsets" }

0 commit comments

Comments
 (0)