PluginDependencySpec

A mutable specification of a dependency on a plugin.

Can be used to specify the version of the plugin to use.

See PluginDependenciesSpec for more information about declaring plugin dependencies.

Functions

Link copied to clipboard
abstract fun apply(apply: Boolean): PluginDependencySpec
Specifies whether the plugin should be applied to the current project.
Link copied to clipboard

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

Link copied to clipboard
abstract fun version(@Nullable version: String): PluginDependencySpec
Specify the version of the plugin to depend on.
Link copied to clipboard

Specify the version of the plugin to depend on.