From f50c51af324a192e22f92148f2348773c783c8c4 Mon Sep 17 00:00:00 2001 From: Baron Roberts Date: Sat, 26 Oct 2024 17:18:33 -0700 Subject: [PATCH] Prepare for next release. --- CHANGELOG.md | 10 ++++++++-- README.md | 9 +++++---- build.gradle.kts | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c8cc38..44ab2f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +## [2.0.0] - 2024-10-26 + ### Changed -- Use cthing-projectversion library `ProjectVersion` object for project version +- The plugin has been migrated from JSR 305 to [JSpecify](https://jspecify.dev/) for `null` checking +- Use the [cthing-projectversion](https://github.com/cthing/cthing-projectversion) library + [ProjectVersion](https://javadoc.io/doc/org.cthing/cthing-projectversion/latest/org/cthing/projectversion/ProjectVersion.html) + object for the project version ## [1.0.1] - 2024-04-18 @@ -17,5 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - First release -[unreleased]: https://github.com/cthing/gradle-locc/compare/1.0.1...HEAD +[unreleased]: https://github.com/cthing/gradle-locc/compare/2.0.0...HEAD +[2.0.0]: https://github.com/cthing/gradle-locc/releases/tag/2.0.0 [1.0.1]: https://github.com/cthing/gradle-locc/releases/tag/1.0.1 diff --git a/README.md b/README.md index 4049ff8..1af633a 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ project using the `plugins` block: ```kotlin plugins { - id("org.cthing.locc") version "1.0.1" + id("org.cthing.locc") version "2.0.0" } ``` @@ -178,7 +178,8 @@ The following Gradle and Java versions are supported: | Plugin Version | Gradle Version | Minimum Java Version | |----------------|----------------|----------------------| -| 1.0.1+ | 8.3+ | 17 | +| 1.x | 8.3+ | 17 | +| 2.x | 8.4+ | 17 | ## Building @@ -209,9 +210,9 @@ Perform the following steps to create a release. by adding them to the [cthing-website](https://github.com/cthing/cthing-website/tree/master/src/assets/schemas) project - In a browser go to the C Thing Software Jenkins CI page -- Run the "gradle-locc-validate" job +- Run the `gradle-locc-validate` job - Wait until that job successfully completes -- Run the "gradle-locc-release" job to release the plugin to the Gradle Plugin Portal +- Run the `gradle-locc-release` job to release the plugin to the Gradle Plugin Portal - Wait for the plugin to be reviewed and made available by the Gradle team - In a browser, go to the project on GitHub - Generate a release with the tag `` diff --git a/build.gradle.kts b/build.gradle.kts index a626b37..977e6e6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -28,7 +28,7 @@ plugins { alias(libs.plugins.versions) } -version = ProjectVersion("2.0.0", BuildType.release) +version = ProjectVersion("2.0.1", BuildType.snapshot) group = "org.cthing" description = "A Gradle plugin for counting lines of code."