Search Gradle plugins

uk.bluedawnsolutions.gradle.metrics-plugin

Owner: Kevin

A plugin capable of publishing metrics about the time taken for tasks as well as number of build successes and failures.

https://github.com/kevinpotgieter/gradle-metrics-plugin

Sources: https://github.com/kevinpotgieter/gradle-metrics-plugin

Version 0.2.0 (latest)

Created 08 December 2016.

A plugin capable of publishing metrics about the time taken for tasks as well as number of build successes and failures.

Add this plugin to your build using the plugins DSL:

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