Search Gradle plugins

dev.poolside.gradle.semantic-version

Owner: poolside

Based on a given major.minor version, plugin determines patch version based on what is already maven repository by auto incrementing it to produce the next version number. Major or minor versions must be manually changed

https://semantic-version.gradle.poolside.dev

Sources: https://github.com/countableSet/semantic-version-plugin

Version 0.2.1 (latest)

0.2.1

Created 22 June 2024.

Based on a given major.minor version, plugin determines patch version based on what is already maven repository by auto incrementing it to produce the next version number. Major or minor versions must be manually changed

Using the plugins DSL:

plugins {
  id("dev.poolside.gradle.semantic-version") version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.poolside.gradle.semanticversion:semantic-version-plugin:0.2.1")
  }
}

apply(plugin = "dev.poolside.gradle.semantic-version")

Using the plugins DSL:

plugins {
  id "dev.poolside.gradle.semantic-version" version "0.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.poolside.gradle.semanticversion:semantic-version-plugin:0.2.1"
  }
}

apply plugin: "dev.poolside.gradle.semantic-version"

Learn how to apply plugins to subprojects