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 3.0.54

Created 13 August 2021.

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 "3.0.54"
}

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:3.0.54")
    }
    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:3.0.54")
      }
    }
    
    apply(plugin = "nrlssc.hgit")
  • Applying plugins to all subprojects .