plugins

Deprecated (with error)

The plugins {} block must not be used here. If you need to apply a plugin imperatively, please use apply<PluginType>() or apply(plugin = "id") instead.

Nested plugins blocks are NOT allowed, for example:

project(":core") {
plugins { java }
}

If you need to apply a plugin imperatively, please use apply() or apply(plugin = "id") instead.

project(":core") {
apply(plugin = "java")
}

Since

6.0