Search Gradle plugins

Version 0.0.1 (latest)

0.0.1

Created 04 October 2021.

Gradle plugin to use git tags as project version names.

Using the plugins DSL:

plugins {
  id("com.doist.gradle.version-name") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.doist.gradle:version-name-gradle-plugin:0.0.1")
  }
}

apply(plugin = "com.doist.gradle.version-name")

Using the plugins DSL:

plugins {
  id "com.doist.gradle.version-name" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.doist.gradle:version-name-gradle-plugin:0.0.1"
  }
}

apply plugin: "com.doist.gradle.version-name"

Learn how to apply plugins to subprojects