Skip to content

dipien/gradle-timer-plugin

Repository files navigation

Dipien

Gradle Timer Plugin

Gradle Plugin to measure the build times of a project

Setup

Add the following configuration to your root build.gradle, replacing X.Y.Z by the latest version

Using the plugins DSL:

plugins {
  id "com.dipien.gradle.timer" version "X.Y.Z"
}

Using legacy plugin application:

buildscript {
    repositories {
        mavenCentral() // or gradlePluginPortal()
    }
    dependencies {
        classpath("com.dipien:gradle-timer-plugin:X.Y.Z")
    }
}
    
apply plugin: "com.dipien.gradle.timer"

gradleTimer {
  // A tag that will be added to each report
  tag = 'TAG_NAME'
}

Usage

Every time a build is executed on gradle, this plugin will invoke the buildHook with timing info. For example:

tag: "test"
timing: 107
executedTasks: "[clean]"
date: "2015-08-22 21:24:49"

About

Gradle Plugin to measure the build time of a project

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •