Improve process to generate gradle-dependencies-list.txt

I think we can improve the process to generate gradle-dependencies-list.txt, so that we can do it with a simple command like make generate_gradle_depencies_list-application-services, without having to manually set var/fetch_gradle_dependencies, enable network, and run tools/gen_gradle_deps_file.sh on the logs.