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

Version 0.1.3

Created 27 May 2022.

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.1.3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects