de.europace.gradle.artifact-version
Owner: Europace
Sets the project version and writes the version to a text file when publishing artifacts
https://github.com/europace/artifact-version-gradle-plugin
Sources: https://github.com/hypoport/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
Add this plugin to your build using the plugins DSL:
plugins {
id("de.europace.gradle.artifact-version") version "2020-02-03T18-05-59"
}
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:2020-02-03T18-05-59") }
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:2020-02-03T18-05-59") } } apply(plugin = "de.europace.gradle.artifact-version")
- Applying plugins to all subprojects .