Search Gradle plugins

com.gitlab.morality.grit

A plugin for Gradle which is designed to automatically version a project according to the nearest Git tag.

https://gitlab.com/ddsoyka/grit

Sources: https://gitlab.com/morality/grit.git

Version 2.0.2 (latest)

Created 23 August 2017.

A plugin for Gradle which is designed to automatically version a project according to the nearest Git tag.

Using the plugins DSL:

plugins {
  id("com.gitlab.morality.grit") version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.gitlab.morality:grit:2.0.2")
  }
}

apply(plugin = "com.gitlab.morality.grit")

Using the plugins DSL:

plugins {
  id "com.gitlab.morality.grit" version "2.0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.gitlab.morality:grit:2.0.2"
  }
}

apply plugin: "com.gitlab.morality.grit"

Learn how to apply plugins to subprojects