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
// | |
// Collect and print tasks execute times | |
// init: addExecTimeLogger 50 | |
// | |
ext.addExecTimeLogger = { minExecutionTime -> | |
gradle.addListener new TaskExecTimeLogger(minExecutionTime) | |
} | |
public class TaskExecTimeLogger implements TaskExecutionListener, BuildListener { | |
private Clock clock |
NewerOlder