All Projects → eleventigers → Gradle Build Timer Plugin

eleventigers / Gradle Build Timer Plugin

A Gradle plugin which reports timings of a project build and individual project tasks

Programming Languages

groovy
2714 projects

Gradle Build Timer Plugin

A Gradle plugin which reports timings of a project build and individual project tasks. See what tasks take the longest to run:

Task timings over threshold:
    128ms  :app:mergeDebugAssets
   1099ms  :app:mergeDebugResources
    788ms  :app:processDebugResources
   5000ms  :app:compileDebugJava
  13757ms  :app:proguardDebug
  15965ms  :app:dexDebug
   3449ms  :app:packageDebug
    158ms  :app:zipalignDebug

Usage

Add the plugin to your buildscript's dependencies section:

classpath 'net.jokubasdargis.buildtimer:gradle-plugin:0.3.0'

Apply the build-timer plugin:

apply plugin: 'net.jokubasdargis.build-timer'

Optionally configure the plugin:

buildTimer {
    reportAbove = 100L // The lowest time threshold (in ms) this plugin should report above, default is 50L
    sort = 'asc' // Sort timings by ms, possible values: 'none', 'asc', 'desc'
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].