buildless

fun Settings.buildless(configure: BuildlessSettings.() -> Unit)(source)

Buildless: Plugin Configuration (Groovy DSL)

This function is the main entrypoint for configuring the Buildless Plugin for Gradle. All user-facing helpers which are usable at Settings evaluation time are exposed in this package/file.

The buildless function may be run within the Settings context once the plugin has loaded. This can be done via the following snippet:

plugins {
id "build.less" version "..."
}

Configuration Context

The configure lambda is executed within the BuildlessSettings context, which allows for building configuration which is then shared within the context of a (potentially multi-project) Gradle build. Settings can be configured at the top-level, via this function, or within a subproject context using the project-level plugin.

The BuildlessSettings interface should be consulted for an exhaustive list of configuration options.

See also

for an exhaustive list of configuration options available at settings evaluation time.