Created
October 25, 2016 12:18
-
-
Save murano500k/a12404f47fdf4fad7e9c6702d61801fe to your computer and use it in GitHub Desktop.
build.gradle root for project sample using time-tracker plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
// TODO(arthurthompson): mavenLocal() being used for preview but will be removed for release. | |
mavenLocal() | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.2.2' | |
classpath 'com.google.gms:google-services:3.0.0' | |
classpath "net.rdrei.android.buildtimetracker:gradle-plugin:0.8.0" | |
} | |
} | |
apply plugin: "build-time-tracker" | |
buildtimetracker { | |
reporters { | |
csv { | |
output "build/times.csv" | |
append true | |
header false | |
} | |
summary { | |
ordered false | |
threshold 50 | |
barstyle "unicode" | |
} | |
csvSummary { | |
csv "build/times.csv" | |
} | |
} | |
} | |
allprojects { | |
repositories { | |
mavenLocal() | |
jcenter() | |
} | |
} | |
task clean(type: Delete) { | |
delete rootProject.buildDir | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment