Search Gradle plugins

de.macnix.gradle.git-version-properties

A plugin providing automatic versioning of CI/CD builds based on git tags and build info

https://github.com/hbrackel/gradle-plugins

Sources: https://github.com/hbrackel/gradle-plugins

Version 1.2.1 (latest)

1.2.1

Created 23 July 2024.

A plugin providing automatic versioning of CI/CD builds based on git tags and build info

Using the plugins DSL:

plugins {
  id("de.macnix.gradle.git-version-properties") version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.macnix.gradle:git-version-properties:1.2.1")
  }
}

apply(plugin = "de.macnix.gradle.git-version-properties")

Using the plugins DSL:

plugins {
  id "de.macnix.gradle.git-version-properties" version "1.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.macnix.gradle:git-version-properties:1.2.1"
  }
}

apply plugin: "de.macnix.gradle.git-version-properties"

Learn how to apply plugins to subprojects