Skip to content

Commit 06ec32b

Browse files
committed
Upgrade Gradle and dependencies
1 parent b0acc0c commit 06ec32b

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[versions]
22
java = "17"
3-
checkstyle = "10.18.2"
3+
checkstyle = "10.20.2"
44
spotbugs = "4.8.6"
55

66
[plugins]
77
cthingVersioning = { id = "org.cthing.cthing-versioning", version = "3.0.0" }
8-
dependencyAnalysis = { id = "com.autonomousapps.dependency-analysis", version = "2.2.0" }
9-
spotbugs = { id = "com.github.spotbugs", version = "6.0.25" }
8+
dependencyAnalysis = { id = "com.autonomousapps.dependency-analysis", version = "2.6.0" }
9+
spotbugs = { id = "com.github.spotbugs", version = "6.0.26" }
1010
versions = { id = "com.github.ben-manes.versions", version = "0.51.0" }
1111

1212
[libraries]
13-
spotbugsContrib = "com.mebigfatguy.sb-contrib:sb-contrib:7.6.5"
13+
spotbugsContrib = "com.mebigfatguy.sb-contrib:sb-contrib:7.6.8"

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
rootProject.name = "cthing-annotations"
22

33
plugins {
4-
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.7.0")
4+
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.9.0")
55
}

src/main/java/org/cthing/annotations/AccessForTesting.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
/**
1717
* A marker annotation to indicate that a method, constructor or type is given increased access for testing purposes.
18+
*
1819
* <p>
1920
* The most common usage of this annotation is to indicate that a method, which could have private access, is given
2021
* package access so that it can be unit tested. Typically, unit tests are placed in the same package as the code
@@ -31,6 +32,7 @@
3132
* return groupId.replace('.', '/');
3233
* }
3334
* </pre>
35+
*
3436
* <p>
3537
* In the above example, the {@code groupToPath} method could have {@code private} access but has been given package
3638
* access so that it can be tested. The application of the {@link AccessForTesting} annotation makes this intention

src/main/java/org/cthing/annotations/NoCoverageGenerated.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
/**
1616
* An annotation to indicate to test coverage tools that the annotated item should be excluded from analysis.
17+
*
1718
* <p>
1819
* Tools such as the <a href="https://www.eclemma.org/jacoco/">Jacoco</a> coverage analyzer and the
1920
* <a href="https://www.jetbrains.com/idea/">IntelliJ IDEA</a> IDE will automatically exclude from coverage

0 commit comments

Comments
 (0)