well,when android studio build,there are many tasks list in the gradle console like the following:
...
:app:buildInfoDevDebugLoader
:extra:ViewPagerIndicator:preBuild UP-TO-DATE
:extra:ViewPagerIndicator:preReleaseBuild UP-TO-DATE
:extra:sweetalertdialoglibrary:preBuild
:extra:Android-PullToRefresh:preBuild UP-TO-DATE
:extra:sweetalertdialoglibrary:preBuild UP-TO-DATE
...
now i would like to do something(just like a task) before one of them(e.g ":app:buildInfoDevDebugLoader"), so what code should i write in the build.gradle?
thanks in advance.