Normally Gradle looks for a build script file with the name
build.gradle in the current directory to execute a build. But we can easily use a different name or directory for the build file. We only have to use the
--build-file command-line option and tell Gradle the name of the build script file.
$ gradle -b builder.gradle $ gradle -b otherdir/build.gradle $ gradle --build-file otherdir/run.it