Gradle allows one to specify build script dependencies in buildscript { dependencies { classpath: ... } } } (or similarly with initscript).
buildscript { dependencies { classpath: ... } } }
initscript