Keeping one sub-projects plugin from running when building an unrelated sub-project

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)?

There’s a dedicated support group for this plugin.

Yeah, I filed a ticket about it on their bug tracker. But I was wondering if there was a higher-level way to lazy load the entire plugin.