aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorMalena Ebert <malena.ebert@sonarsource.com>2020-12-01 12:42:13 +0100
committersonartech <sonartech@sonarsource.com>2020-12-03 20:06:38 +0000
commit634999d82271564916d7ff290c2da868ffd3d209 (patch)
tree8eb10d47b5ba78cc6ef305c3dd35b9fd0d75acdd /build.gradle
parent9a48efc4a8dab3d6756181f4b994e4aeeac4c839 (diff)
downloadsonarqube-634999d82271564916d7ff290c2da868ffd3d209.tar.gz
sonarqube-634999d82271564916d7ff290c2da868ffd3d209.zip
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.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files 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)
}
}