Search Gradle plugins

eu.aylett.plugins.version

Sets the project version from the state of the git repository it's in.

https://gradle-plugins.aylett.eu/

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

Version 0.3.0 (latest)

Created 24 November 2023.

Sets the project version from the state of the git repository it's in.

Using the plugins DSL:

plugins {
  id("eu.aylett.plugins.version") version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("eu.aylett:gradle-plugins:0.3.0")
  }
}

apply(plugin = "eu.aylett.plugins.version")

Using the plugins DSL:

plugins {
  id "eu.aylett.plugins.version" version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "eu.aylett:gradle-plugins:0.3.0"
  }
}

apply plugin: "eu.aylett.plugins.version"

Learn how to apply plugins to subprojects