plugin

fun plugin(id: String, version: String, channel: String = "")

Adds a dependency on a plugin for IntelliJ Platform.

Parameters

id

The plugin identifier.

version

The plugin version.

channel

The plugin distribution channel.


fun plugin(id: Provider<String>, version: Provider<String>, channel: Provider<String>)

Adds a dependency on a plugin for IntelliJ Platform.

Parameters

id

The provider of the plugin identifier.

version

The provider of the plugin version.

channel

The provider of the plugin distribution channel.


fun plugin(notation: Provider<String>)
fun plugin(notation: String)

Adds a dependency on a plugin for IntelliJ Platform using a string notation, in the following formats:

  • pluginId:version

  • pluginId:version@channel

Parameters

notation

The plugin notation in pluginId:version or pluginId:version@channel format.