Search Gradle plugins

com.jayanslow.gradle.semver-ci

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)

0.3.2

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.

Using the plugins DSL:

plugins {
  id("com.jayanslow.gradle.semver-ci") version "0.3.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.jayanslow.gradle:semver-ci:0.3.2")
  }
}

apply(plugin = "com.jayanslow.gradle.semver-ci")

Using the plugins DSL:

plugins {
  id "com.jayanslow.gradle.semver-ci" version "0.3.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.jayanslow.gradle:semver-ci:0.3.2"
  }
}

apply plugin: "com.jayanslow.gradle.semver-ci"

Learn how to apply plugins to subprojects