my root gradle project defines a proxy for jcenter and the plugins repo but I seem to need to do this for every sub project as well. This violates Don’t-Repeat-Yourself so I must be approaching this incorrectly
Please don’t use buildscript {} in subprojects. Simply declare all your plugin dependencies in the root project. This will give you much better performance because less classloaders will need to be created. It also avoids confusing situations where the root project already loaded a plugin and a child tries to request a different version, but gets the one loaded by the root. I plan to deprecate buildscript {} in subprojects for these reasons.