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

Version 0.1.1

Created 15 February 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 and Travis CI.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects