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

Version 0.3.0 (latest)

Created 27 August 2019.

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

Using the plugins DSL:

plugins {
  id "be.vbgn.ci-detect" version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "be.vbgn.gradle:ci-detect-plugin:0.3.0"
  }
}

apply plugin: "be.vbgn.ci-detect"

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("be.vbgn.gradle:ci-detect-plugin:0.3.0")
  }
}

apply(plugin = "be.vbgn.ci-detect")

Learn how to apply plugins to subprojects