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)

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.

Add this plugin to your build using the plugins DSL:

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

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.bnc.gradle.travis-ci-versioner:com.bnc.gradle.travis-ci-versioner.gradle.plugin:1.1.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.bnc.gradle.travis-ci-versioner")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.bnc.gradle.travis-ci-versioner:com.bnc.gradle.travis-ci-versioner.gradle.plugin:1.1.1")
      }
    }
    
    apply(plugin = "com.bnc.gradle.travis-ci-versioner")
  • Applying plugins to all subprojects .