Search Gradle plugins

Version 1.0-SNAPSHOT

1.0-SNAPSHOT

Created 14 February 2019.

This extension will adjust the project version, based on current git branch or tag.

Using the plugins DSL:

plugins {
  id("me.qoomon.git-versioning") version "1.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("me.qoomon:gradle-git-versioning-plugin:1.0-SNAPSHOT")
  }
}

apply(plugin = "me.qoomon.git-versioning")

Using the plugins DSL:

plugins {
  id "me.qoomon.git-versioning" version "1.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.qoomon:gradle-git-versioning-plugin:1.0-SNAPSHOT"
  }
}

apply plugin: "me.qoomon.git-versioning"

Learn how to apply plugins to subprojects