Search Gradle plugins

com.bnc.gradle.travis-ci-versioner

Uses the Travis CI build number to create the patch version number when running in CI. The major and minor versions are controlled manually.

https://github.com/bnc-projects/travis-ci-versioner

Sources: https://github.com/bnc-projects/travis-ci-versioner

Version 1.1.1 (latest)

1.1.1

Created 19 November 2019.

Uses the Travis CI build number to create the patch version number when running in CI. The major and minor versions are controlled manually.

Using the plugins DSL:

plugins {
  id("com.bnc.gradle.travis-ci-versioner") version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.bnc.gradle:travis-ci-versioner:1.1.1")
  }
}

apply(plugin = "com.bnc.gradle.travis-ci-versioner")

Using the plugins DSL:

plugins {
  id "com.bnc.gradle.travis-ci-versioner" version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.bnc.gradle:travis-ci-versioner:1.1.1"
  }
}

apply plugin: "com.bnc.gradle.travis-ci-versioner"

Learn how to apply plugins to subprojects