This repo hosts 2 plugins: semver and git.
The plugins expect git tags in the format v0.1.1 (annotated tags) and prerelease versions like v0.1.1-rc.1.
See CONTRIBUTING.md for setup, build instructions, and development workflow.
Provide semantic versioning for Maven publishing with Gradle.
Future: Provide a way to determine what the next version should be using your project's ABI.
Shallow clones will not work properly for calculating version distance. Instead of a shallow clone, use:
git fetch --all --filter blob:noneOr in GitHub Actions:
- uses: actions/checkout@v4
with:
filter: "blob:none"
fetch-depth: 0GitHub does not checkout annotated tags properly. Use this workaround:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}| Version | Gradle | Java | License |
|---|---|---|---|
| <= v0.13.x | 8.x | 11.x | Apache 2.0 |
| >= v0.14.x | 9.x | 17.x | GPLv3 with Classpath Exception 2.0 |
- Java: GPLv3 with Classpath Exception
- Gradle/Kotlin/Config: MIT
- Documentation: CC BY-NC-SA 4.0
Copyright © 2024 - 2026 Caleb Cushing