From 634999d82271564916d7ff290c2da868ffd3d209 Mon Sep 17 00:00:00 2001 From: Malena Ebert Date: Tue, 1 Dec 2020 12:42:13 +0100 Subject: [PATCH] BUILD Switch time tracker plugin. The recent used time tracker plugin is not maintained anymore and it is using gradle features, which will be removed in the next versions. --- build.gradle | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index b1c5a7ed5aa..1c3b99ec8b4 100644 --- a/build.gradle +++ b/build.gradle @@ -7,22 +7,18 @@ plugins { id 'com.jfrog.artifactory' version '4.15.1' id 'com.github.node-gradle.node' version '1.5.3' apply false id 'io.spring.dependency-management' version '1.0.10.RELEASE' - id 'net.rdrei.android.buildtimetracker' version '0.11.0' + id "com.asarkar.gradle.build-time-tracker" version "2.0.4" apply false id 'org.owasp.dependencycheck' version '6.0.1' id 'org.sonarqube' version '2.8' } // display a summary of task durations at the end of the build if (project.hasProperty('time-tracker')) { - apply plugin: 'build-time-tracker' - buildtimetracker { - reporters { - summary { - ordered true - threshold 1000 - barstyle 'ascii' - } - } + apply plugin: 'com.asarkar.gradle.build-time-tracker' + buildTimeTracker { + sort = true + maxWidth = 80 + minTaskDuration = Duration.ofSeconds(1) } } -- 2.39.5