diff --git a/README.md b/README.md index 69fd8cb..bd67dc2 100644 --- a/README.md +++ b/README.md @@ -71,5 +71,5 @@ Perform the following steps to create a release. - Increment the version patch number - Set the build type to `BuildType.snapshot` - Update the `CHANGELOG.md` with the changes in the release and prepare for next release changes -- Update the `Usage` section in the `README.md` with the latest artifact release version +- Update the `Usage` and `Compatibility` sections in the `README.md` with the latest artifact release version - Commit these changes diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index afed45a..4d7ff02 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,18 +1,18 @@ [versions] java = "17" -checkstyle = "10.15.0" +checkstyle = "10.17.0" jacoco = "0.8.12" junit = "5.10.2" -spotbugs = "4.8.4" +spotbugs = "4.8.5" [plugins] -dependencyAnalysis = { id = "com.autonomousapps.dependency-analysis", version = "1.31.0" } +dependencyAnalysis = { id = "com.autonomousapps.dependency-analysis", version = "1.32.0" } pluginPublish = { id = "com.gradle.plugin-publish", version = "1.2.1" } -spotbugs = { id = "com.github.spotbugs", version = "6.0.12" } +spotbugs = { id = "com.github.spotbugs", version = "6.0.15" } versions = { id = "com.github.ben-manes.versions", version = "0.51.0" } [libraries] -assertJ = "org.assertj:assertj-core:3.25.3" +assertJ = "org.assertj:assertj-core:3.26.0" cthingProjectVersion = "org.cthing:cthing-projectversion:1.0.0" jsr305 = "com.google.code.findbugs:jsr305:3.0.2" junitApi = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b82aa23..a441313 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/src/test/java/org/cthing/gradle/plugins/versioning/PluginIntegTest.java b/src/test/java/org/cthing/gradle/plugins/versioning/PluginIntegTest.java index 2347d1c..b4e7ce0 100644 --- a/src/test/java/org/cthing/gradle/plugins/versioning/PluginIntegTest.java +++ b/src/test/java/org/cthing/gradle/plugins/versioning/PluginIntegTest.java @@ -44,7 +44,7 @@ public class PluginIntegTest { public static Stream gradleVersionProvider() { return Stream.of( arguments("8.0"), - arguments("8.7") + arguments("8.8") ); } @@ -102,8 +102,8 @@ public void testStringVersion(final String gradleVersion) throws IOException { version = "1.2.3" """); - final UnexpectedBuildFailure exception = catchThrowableOfType(() -> createGradleRunner(gradleVersion).build(), - UnexpectedBuildFailure.class); + final UnexpectedBuildFailure exception = catchThrowableOfType(UnexpectedBuildFailure.class, + () -> createGradleRunner(gradleVersion).build()); final BuildResult result = exception.getBuildResult(); assertThat(result.getOutput()).contains("Version is not an instance of org.cthing.projectversion.ProjectVersion"); } @@ -141,8 +141,8 @@ public void testRelaseWithSnapshots(final String gradleVersion) throws IOExcepti } """); - final UnexpectedBuildFailure exception = catchThrowableOfType(() -> createGradleRunner(gradleVersion).build(), - UnexpectedBuildFailure.class); + final UnexpectedBuildFailure exception = catchThrowableOfType(UnexpectedBuildFailure.class, + () -> createGradleRunner(gradleVersion).build()); final BuildResult result = exception.getBuildResult(); assertThat(result.getOutput()).contains("Release build depends on snapshot artifact org.cthing:versionparser:4.+ (implementation)"); }