I have a project with many sub-projects. One of the sub-projects is a simple Android application. I’m using the gradle-android-plugin on that sub-project (https://github.com/jvoegele/gradle-android-plugin/wiki).
That plugin requires the location of the Android SDK to operate, which makes sense. However, it checks for the Android SDK even if I’m not trying to build that particular sub-project.
Is there a way around this? Maybe some way to lazy load the plugin (i.e. only load if that particular project needs to be built)?