api / org.gradle / StartParameter / getInitScripts

getInitScripts

open fun getInitScripts(): MutableList<File>

Returns all explicitly added init scripts that will be run before the build starts. This list does not contain the user init script located in ${user.home}/.gradle/init.gradle, even though that init script will also be run.

Return
list of all explicitly added init scripts.