com.jayanslow.gradle.semver-ci
Owner: Jay Anslow
Plugin for dynamically setting the project version to a semantic version, based on a base version and the CI environment. Currently supports GitLab CI and Travis CI.
https://gitlab.com/janslow/gradle-semver-ci
Sources: https://github.com/janslow/gradle-semver-ci
Version 0.3.2 (latest)
Created 27 October 2017.
Plugin for dynamically setting the project version to a semantic version, based on a base version and the CI environment. Currently supports GitLab CI.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.jayanslow.gradle.semver-ci") version "0.3.2"
}
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("com.jayanslow.gradle.semver-ci:com.jayanslow.gradle.semver-ci.gradle.plugin:0.3.2") }
It can then be applied in the precompiled script plugin:plugins { id("com.jayanslow.gradle.semver-ci") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.jayanslow.gradle.semver-ci:com.jayanslow.gradle.semver-ci.gradle.plugin:0.3.2") } } apply(plugin = "com.jayanslow.gradle.semver-ci")
- Applying plugins to all subprojects .