Bootstrap init.gradle script

Hi,

I would like to be able to have my init.gradle script automatically load other gradle scripts that will be run during the initialization phase (it would intelligently pull them from a network location). If this doesn’t happen we would have to push changes to a lot of machines should we need to change our init.d scripts.

Is this bootstrapping mechanism possible? I know there is the gradlew wrapper but I don’t know if that could accomplish this either.

Looks like I can create a custom gradle distribution with the gradle wrapper and point to that using gradle-wrapper.properties.