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

Version 1.0.6 (latest)

Created 10 April 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.0.6"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects