api / org.gradle / StartParameter / addInitScript

addInitScript

open fun addInitScript(initScriptFile: File): Unit

Adds the given file to the list of init scripts that are run before the build starts. This list is in addition to the default init scripts.

Parameters

initScriptFile - The init scripts.