@Incubating interface 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.
abstract fun apply(apply: Boolean): PluginDependencySpec
Specifies whether the plugin should be applied to the current project. Otherwise it is only put on the project's classpath. This is useful when reusing classes from a plugin or to apply a plugin to sub-projects:
|
|
abstract fun version(version: String): PluginDependencySpec
Specify the version of the plugin to depend on.
By default, dependencies have no (i.e. |
infix fun PluginDependencySpec.apply(apply: Boolean): PluginDependencySpec
Specifies whether the plugin should be applied to the current project. Otherwise it is only put on the project's classpath. |
|
infix fun PluginDependencySpec.version(version: String?): PluginDependencySpec
Specify the version of the plugin to depend on. |