Skip to content

Commit

Permalink
Prepare for next release.
Browse files Browse the repository at this point in the history
  • Loading branch information
baron1405 committed Oct 27, 2024
1 parent a8c1999 commit f50c51a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@ 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

### Added

- 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
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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 `<version>`
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down

0 comments on commit f50c51a

Please sign in to comment.