From a039e65666d49c9962322aa7f020e05a865c9344 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Sat, 11 Aug 2018 01:28:45 +0100 Subject: [PATCH] Update README Closes #92 --- README.markdown | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index b93979f..7c34de1 100644 --- a/README.markdown +++ b/README.markdown @@ -18,7 +18,16 @@ How much time do you spend each day waiting for Gradle? Now you know! ## Usage -Apply the plugin in your `build.gradle`: +Apply the plugin in your `build.gradle`. On Gradle >2.1 you can do this +using the Plugin DSL Syntax: + +```groovy +plugins { + id "net.rdrei.android.buildtimetracker" version "0.11.0" +} +``` + +Otherwise, use it as `classpath` dependency: ```groovy buildscript { @@ -32,7 +41,11 @@ buildscript { } apply plugin: "build-time-tracker" +``` +Configure the plugin: + +```groovy buildtimetracker { reporters { csv {