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)

0.5.0

Created 25 October 2020.

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.5.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects