Search Gradle plugins

de.europace.gradle.artifact-version

Sets the project version and writes the version to a text file when publishing artifacts

https://github.com/europace/artifact-version-gradle-plugin

Version 2020-02-03T18-05-59 (latest)

Created 03 February 2020.

Sets the project version to the current timestamp and writes the version to a text file when publishing artifacts

Using the plugins DSL:

plugins {
  id "de.europace.gradle.artifact-version" version "2020-02-03T18-05-59"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.europace.gradle:artifact-version-gradle-plugin:2020-02-03T18-05-59"
  }
}

apply plugin: "de.europace.gradle.artifact-version"

Using the plugins DSL:

plugins {
  id("de.europace.gradle.artifact-version") version "2020-02-03T18-05-59"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.europace.gradle:artifact-version-gradle-plugin:2020-02-03T18-05-59")
  }
}

apply(plugin = "de.europace.gradle.artifact-version")

Learn how to apply plugins to subprojects