Collect the time-consuming of method.
-
gradle clean install
-
Add the following code in
build.gradle
in the rootProject dir.buildscript { repositories { mavenLocal() } dependencies { classpath 'me.ailurus:consuming-collector:1.0.0-SNAPSHOT' } }
-
Add the following code in
build.gradle
in the subProject dir.apply plugin: 'consuming' collectConsuming { enable = true includePackages = ['xxxx', 'xxxx'] excludeFies = ['xxx', 'xxx'] }