Move more global gradle config to subprojects.
Group modules in larger subprojects due to interweaving dependencies.