Search Gradle plugins

com.moonlitdoor.git-version-config

A Gradle plugin that sets various properties available for use as the version based on the git repository.

https://github.com/moonlitdoor/mld-git-version

Version 0.1.1 (latest)

Created 13 February 2019.

A Gradle plugin that sets various properties available for use as the version based on the git repository.

Using the plugins DSL:

plugins {
  id "com.moonlitdoor.git-version-config" version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.moonlitdoor.git-version:git-version:0.1.1"
  }
}

apply plugin: "com.moonlitdoor.git-version-config"

Using the plugins DSL:

plugins {
  id("com.moonlitdoor.git-version-config") version "0.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.moonlitdoor.git-version:git-version:0.1.1")
  }
}

apply(plugin = "com.moonlitdoor.git-version-config")

Learn how to apply plugins to subprojects