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.66 (latest)

3.0.66

Created 11 October 2024.

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

Using the plugins DSL:

plugins {
  id("nrlssc.hgit") version "3.0.66"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("mil.navy.nrlssc:hgit-plugin:3.0.66")
  }
}

apply(plugin = "nrlssc.hgit")

Using the plugins DSL:

plugins {
  id "nrlssc.hgit" version "3.0.66"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "mil.navy.nrlssc:hgit-plugin:3.0.66"
  }
}

apply plugin: "nrlssc.hgit"

Learn how to apply plugins to subprojects