Search Gradle plugins

Version 2019-10-11T18-23-57

Created 11 October 2019.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("de.europace.gradle.artifact-version:de.europace.gradle.artifact-version.gradle.plugin:2019-10-11T18-23-57")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("de.europace.gradle.artifact-version")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("de.europace.gradle.artifact-version:de.europace.gradle.artifact-version.gradle.plugin:2019-10-11T18-23-57")
      }
    }
    
    apply(plugin = "de.europace.gradle.artifact-version")
  • Applying plugins to all subprojects .