apply

inline fun <T : ERROR CLASS: Symbol not found for org.gradle.api.Plugin<*>> ERROR CLASS: Symbol not found for org.gradle.api.plugins.PluginContainer.apply(type: KClass<T>): T(source)
inline fun <T : ERROR CLASS: Symbol not found for org.gradle.api.Plugin<*>> ERROR CLASS: Symbol not found for org.gradle.api.plugins.PluginContainer.apply(type: KClass<T>): T(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.PluginContainer.apply.

See also

org.gradle.api.plugins.PluginContainer.apply

inline fun ERROR CLASS: Symbol not found for org.gradle.api.Script.apply(vararg options: Pair<String, Any>)(source)
inline fun ERROR CLASS: Symbol not found for org.gradle.api.Script.apply(vararg options: Pair<String, Any>)(source)

Kotlin extension function for org.gradle.api.Script.apply.

See also

org.gradle.api.Script.apply

inline fun ERROR CLASS: Symbol not found for org.gradle.api.plugins.PluginManager.apply(type: KClass<*>)(source)
inline fun ERROR CLASS: Symbol not found for org.gradle.api.plugins.PluginManager.apply(type: KClass<*>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.plugins.PluginManager.apply.

Since

2.3

See also

org.gradle.api.plugins.PluginManager.apply

inline fun ERROR CLASS: Symbol not found for org.gradle.api.plugins.PluginAware.apply(vararg options: Pair<String, Any>)(source)
inline fun ERROR CLASS: Symbol not found for org.gradle.api.plugins.PluginAware.apply(vararg options: Pair<String, Any>)(source)

Kotlin extension function for org.gradle.api.plugins.PluginAware.apply.

See also

org.gradle.api.plugins.PluginAware.apply

inline fun <T : ERROR CLASS: Symbol not found for Plugin<ERROR CLASS: Symbol not found for Gradle>> ERROR CLASS: Symbol not found for Gradle.apply()(source)
inline fun <T : ERROR CLASS: Symbol not found for Plugin<ERROR CLASS: Symbol not found for Project>> ERROR CLASS: Symbol not found for Project.apply()(source)
inline fun <T : ERROR CLASS: Symbol not found for Plugin<ERROR CLASS: Symbol not found for Settings>> ERROR CLASS: Symbol not found for Settings.apply()(source)

Applies the plugin of the given type T. Does nothing if the plugin has already been applied.

The given class should implement the Plugin interface, and be parameterized for a compatible type of this.

Type Parameters

T

the plugin type.

See also

PluginAware.apply

fun ERROR CLASS: Symbol not found for PluginAware.apply(from: Any? = null, plugin: String? = null, to: Any? = null)(source)

Applies the given plugin or script.

Parameters

from

a script to apply, evaluated as per Project.file

plugin

a id of the plugin to apply

to

the plugin target object or collection of objects, target is self when null

See also

PluginAware.apply

inline fun <T : ERROR CLASS: Symbol not found for Plugin<*>> ERROR CLASS: Symbol not found for PluginAware.apply()(source)

Applies the plugin of the given type T. Does nothing if the plugin has already been applied.

The given class should implement the Plugin interface.

Type Parameters

T

the plugin type.

See also

PluginAware.apply

infix fun ERROR CLASS: Symbol not found for PluginDependencySpec.apply(apply: Boolean): ERROR CLASS: Symbol not found for PluginDependencySpec(source)

Specifies whether the plugin should be applied to the current project. Otherwise it is only put on the project's classpath.

Infix version of PluginDependencySpec.apply.