Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

xenoterracide/gradle-semver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

658 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

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.

Contributing

See CONTRIBUTING.md for setup, build instructions, and development workflow.

Goals

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.

FAQ

Shallow Clones

Shallow clones will not work properly for calculating version distance. Instead of a shallow clone, use:

git fetch --all --filter blob:none

Or in GitHub Actions:

- uses: actions/checkout@v4
  with:
    filter: "blob:none"
    fetch-depth: 0

Annotated Tags

GitHub does not checkout annotated tags properly. Use this workaround:

- uses: actions/checkout@v4
  with:
    ref: ${{ github.ref }}

Version Support

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

License

Copyright © 2024 - 2026 Caleb Cushing

About

Gradle Semantic versioning plugin with snapshot alternative

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors