For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

from

abstract fun from(script: Any): ObjectConfigurationAction(source)

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.

Return

this

Since

0.9

Parameters

script

The script. Evaluated as per file. However, note that a URL can also be used, allowing the script to be fetched using HTTP, for example.