Search Gradle plugins

be.vbgn.ci-detect

Plugin that checks if it is running on a continuous integration server and gives you access to the build metadata.

https://github.com/vierbergenlars/ci-detect-gradle-plugin

Sources: https://github.com/vierbergenlars/ci-detect-gradle-plugin

Version 0.5.0 (latest)

Created 25 October 2020.

Plugin that checks if it is running on a continuous integration server and gives you access to the build metadata.

Add this plugin to your build using the plugins DSL:

plugins {
  id("be.vbgn.ci-detect") version "0.5.0"
}

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