api / org.gradle.api.plugins / ObjectConfigurationAction / from

from

abstract fun from(script: Any): ObjectConfigurationAction

Adds a script to use to configure the target objects. You can call this method multiple times, to use multiple scripts. Scripts and plugins are applied in the order that they are added.

Parameters

script - The script. Evaluated as per org.gradle.api.Project#file(Object). However, note that a URL can also be used, allowing the script to be fetched using HTTP, for example.

Return
this