All Projects → sarhanm → gradle-versioner

sarhanm / gradle-versioner

Licence: other
Gradle Version Plugin. Generates semantic versions with git meta data per branch.

Programming Languages

groovy
2714 projects
shell
77523 projects

Projects that are alternatives of or similar to gradle-versioner

gradle-release-plugin
Gradle plugin providing very minimal release version numbering (Git-specific)
Stars: ✭ 43 (+72%)
Mutual labels:  gradle-plugin, semantic-versioning
Semver
Semantic Versioning for modern C++
Stars: ✭ 108 (+332%)
Mutual labels:  semver, semantic-versioning
React Native Version
🔢 Version your React Native or Expo app in a `npm version` fashion.
Stars: ✭ 408 (+1532%)
Mutual labels:  semver, semantic-versioning
next-ver
Tells you the next semantic version for your local package
Stars: ✭ 27 (+8%)
Mutual labels:  semver, semantic-versioning
Axion Release Plugin
Gradle release & version management plugin.
Stars: ✭ 372 (+1388%)
Mutual labels:  gradle-plugin, semantic-versioning
Python Semver
Python package to work with Semantic Versioning (http://semver.org/)
Stars: ✭ 264 (+956%)
Mutual labels:  semver, semantic-versioning
Semver
Semantic Versioning (semver) library written in golang
Stars: ✭ 804 (+3116%)
Mutual labels:  semver, semantic-versioning
bump
🌻 CLI tool to draft a GitHub Release for the next semantic version
Stars: ✭ 40 (+60%)
Mutual labels:  semver, semantic-versioning
Version
Represent and compare versions via semantic versioning (SemVer) in Swift
Stars: ✭ 160 (+540%)
Mutual labels:  semver, semantic-versioning
Semver
Semantic versioning helper library for PHP
Stars: ✭ 144 (+476%)
Mutual labels:  semver, semantic-versioning
git-semver
a small cli tool to version your git repository with semantic versioning
Stars: ✭ 19 (-24%)
Mutual labels:  semver, semantic-versioning
Reckon
Infer a project's version from your Git repository.
Stars: ✭ 124 (+396%)
Mutual labels:  gradle-plugin, semver
Commitizen
Create committing rules for projects 🚀 auto bump versions ⬆️ and auto changelog generation 📂
Stars: ✭ 477 (+1808%)
Mutual labels:  semver, semantic-versioning
Semantic Release
📦🚀 semantic-release written in go
Stars: ✭ 113 (+352%)
Mutual labels:  semver, semantic-versioning
Gradle Semantic Build Versioning
Gradle plugin to generate version-numbers and tags using semantic versioning
Stars: ✭ 69 (+176%)
Mutual labels:  gradle-plugin, semantic-versioning
gradle-semantic-build-versioning
Gradle plugin to generate version-numbers and tags using semantic versioning
Stars: ✭ 19 (-24%)
Mutual labels:  gradle-plugin, semver
webdriver-binaries-gradle-plugin
A Gradle plugin that downloads and caches WebDriver binaries specific to the OS the build runs on
Stars: ✭ 31 (+24%)
Mutual labels:  gradle-plugin
moko-network
Network components with codegeneration of rest api for mobile (android & ios) Kotlin Multiplatform development
Stars: ✭ 107 (+328%)
Mutual labels:  gradle-plugin
gradle-http-plugin
Gradle plugin providing support for using HttpBuilder-NG to make HTTP requests as Gradle Tasks.
Stars: ✭ 30 (+20%)
Mutual labels:  gradle-plugin
xmake-gradle
A gradle plugin that integrates xmake seamlessly
Stars: ✭ 31 (+24%)
Mutual labels:  gradle-plugin

Gradle Versioner Plugin

Build Status Coverage Status

Overview

With this plugin, you can create project versions like:

2.1.6.master.d9741b1 or 0.0.6.feature-fixing-something.c3751f4

The values in the version string are derived from the state of the git repository. This allows you to:

  1. Not worry about what the project version should be
  2. Project version is set based on your branch name so
    1. Alleviates issues of updating the version before you push.
    2. You know where a version of a library came from
  3. The commit hash is part of the version string so hot fixing is based off the correct commit hash, not from a branch you think is probably the right place to fork.

Adding to your project

Outlined here: https://plugins.gradle.org/plugin/com.sarhanm.versioner

Buildscript DSL

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.sarhanm:gradle-versioner:4.0.0"
  }
}

// The versioner
apply plugin: "com.sarhanm.versioner"

// Optional: the version resolver
apply plugin: "com.sarhanm.version-resolver"

Using the plugins mechanism

plugins {
  //Versioner
  id "com.sarhanm.versioner" version "4.0.0"
  
  //Version Resolver (optional)
  id "com.sarhanm.version-resolver" version "4.0.0"
}

Full Documentation

Full Documenation is on the wiki

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].