Search Gradle plugins

de.gesellix.gradle.artifact-version

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

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

Version 2019-10-11T10-12-39 (latest)

Created 11 October 2019.

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

Using the plugins DSL:

plugins {
  id "de.gesellix.gradle.artifact-version" version "2019-10-11T10-12-39"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.europace.gradle:artifact-version-gradle-plugin:2019-10-11T10-12-39"
  }
}

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

Using the plugins DSL:

plugins {
  id("de.gesellix.gradle.artifact-version") version "2019-10-11T10-12-39"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("de.europace.gradle:artifact-version-gradle-plugin:2019-10-11T10-12-39")
  }
}

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

Learn how to apply plugins to subprojects