From aaf60f522ecc90fd3cda44857023846a9a5c5f83 Mon Sep 17 00:00:00 2001 From: Andy Coates Date: Thu, 10 Sep 2026 15:35:01 +0100 Subject: [PATCH] Post release: 2.1.1-SNAPSHOT --- .github/workflows/publish.yml | 10 ++++++---- README.md | 16 ++++++++-------- build.gradle | 2 +- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e083b54..f7a17c1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,11 +6,13 @@ # 2. Replace all references to the last release number with the new release number. # e.g. search for `1.2.2` and replace with `1.2.3`. # 3. Commit changes in PR and merge. -# 4. Run this workflow to publish the plugin. -# 5. Update the version number in root build.gradle to the next -SNAPSHOT version. +# 4. Tag the merge commit with the release version and push the tag. +# e.g. `git tag v1.2.3 && git push origin v1.2.3` +# 5. Run this workflow to publish the plugin. +# 6. Update the version number in root build.gradle to the next -SNAPSHOT version. # e.g. replace `version '1.2.3' with '1.2.4-SNAPSHOT' -# 6. Add the new release to the Compatibility Matrix in the README.md file. -# 7. Commit changes in PR and merge. +# 7. Add the new release to the Compatibility Matrix in the README.md file. +# 8. Commit changes in PR and merge. name: Publish to the Gradle Plugin Portal diff --git a/README.md b/README.md index 4a969cd..190c90c 100644 --- a/README.md +++ b/README.md @@ -35,14 +35,14 @@ An example application using this plugin is available [here](https://github.com/ Compatibility === -| Plugin Version | Gradle Versions | Java Version | Kotlin Version | Notes | -|------------------|-----------------|--------------|----------------|-------------------------------------------------------------------------------------------------------| -| - -> 1.8.12 | 5.+ -> 7.5.+ | 11+ | 1.0.+ -> 1.6.+ | | -| 1.8.12 -> 1.8.13 | 5.+ -> 7.5.+ | 11+ | 1.0.+ -> 1.9.+ | Adds support for Kotlin 1.7 and above. | -| 1.8.14 | 5.+ -> 7.6.+ | 11+ | 1.0.+ -> 1.9.+ | Fixes compatibility issue with Gradle 7.6 | -| 1.8.15 -> 1.8.x | 5.+ -> 8.6.+ | 11+ | 1.6.+ -> 1.9.+ | Fixes compatibility issues with Gradle 8.0.
Use JUnit v5.8.0 or above if using Gradle 8 | -| 2.0.0 | 8.11 -> 9.4.1 | 11+ [^1] | 1.8.+ -> 2.x+ | Adds support for Gradle 9.x.
Drops support for older Gradle and Kotlin versions. | -| Upcoming release | 8.11 -> 9.7.1 | 11+ [^1] | 1.8.+ -> 2.x+ | Fixes for Gradle 9.5+ see [#375](https://github.com/java9-modularity/gradle-modules-plugin/pull/375). | +| Plugin Version | Gradle Versions | Java Version | Kotlin Version | Notes | +|------------------|-----------------|--------------|----------------|--------------------------------------------------------------------------------------------| +| - -> 1.8.12 | 5.+ -> 7.5.+ | 11+ | 1.0.+ -> 1.6.+ | | +| 1.8.12 -> 1.8.13 | 5.+ -> 7.5.+ | 11+ | 1.0.+ -> 1.9.+ | Adds support for Kotlin 1.7 and above. | +| 1.8.14 | 5.+ -> 7.6.+ | 11+ | 1.0.+ -> 1.9.+ | Fixes compatibility issue with Gradle 7.6 | +| 1.8.15 -> 1.8.x | 5.+ -> 8.6.+ | 11+ | 1.6.+ -> 1.9.+ | Fixes compatibility issues with Gradle 8.0.
Use JUnit v5.8.0 or above if using Gradle 8 | +| 2.0.0 | 8.11 -> 9.4.1 | 11+ [^1] | 1.8.+ -> 2.x+ | Adds support for Gradle 9.x.
Drops support for older Gradle and Kotlin versions. | +| 2.1.0 | 8.11 -> 9.7.1 | 11+ [^1] | 1.8.+ -> 2.x+ | Fixes for Gradle 9.5+. | [^1]: Gradle 9.x itself requires JDK 17+ to run, regardless of the plugin's own Java version support. See the [Gradle 9 upgrade guide](https://docs.gradle.org/current/userguide/upgrading_major_version_9.html). This applies to all plugin versions that support Gradle 9.x and above. diff --git a/build.gradle b/build.gradle index bdbb7c1..9b80f6b 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ develocity { } group 'org.javamodularity' -version '2.1.0' +version '2.1.1-SNAPSHOT' java { sourceCompatibility = JavaVersion.VERSION_11