Search Gradle plugins

Version 2019-10-11T18-23-57

2019-10-11T18-23-57

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.europace.gradle.artifact-version") version "2019-10-11T18-23-57"
}

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-11T18-23-57")
  }
}

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

Using the plugins DSL:

plugins {
  id "de.europace.gradle.artifact-version" version "2019-10-11T18-23-57"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects