Search Gradle plugins

nrlssc.hgit

Automatic versioning based on commits to Mercurial or Git, and related utilities

https://github.com/nrl-gradle/hgit-plugin

Sources: https://github.com/seanrl/hgit-plugin.git

Version 1.13.26-unstable

Created 13 May 2020.

Automatic versioning based on commits to Mercurial or Git, and related utilities

Add this plugin to your build using the plugins DSL:

plugins {
  id("nrlssc.hgit") version "1.13.26-unstable"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("nrlssc.hgit:nrlssc.hgit.gradle.plugin:1.13.26-unstable")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("nrlssc.hgit")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("nrlssc.hgit:nrlssc.hgit.gradle.plugin:1.13.26-unstable")
      }
    }
    
    apply(plugin = "nrlssc.hgit")
  • Applying plugins to all subprojects .