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

(Kannan Goundan) #1

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 (

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

(Luke Daley) #2

There’s a dedicated support group for this plugin.

(Kannan Goundan) #3

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.