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.0

1.2.0

Created 25 January 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.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects