Search Gradle plugins

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

Add this plugin to your build using the plugins DSL:

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

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.gesellix.gradle.artifact-version:de.gesellix.gradle.artifact-version.gradle.plugin:2019-10-11T10-12-39")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("de.gesellix.gradle.artifact-version")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("de.gesellix.gradle.artifact-version:de.gesellix.gradle.artifact-version.gradle.plugin:2019-10-11T10-12-39")
      }
    }
    
    apply(plugin = "de.gesellix.gradle.artifact-version")
  • Applying plugins to all subprojects .