create

fun create(type: String, version: String, useInstaller: Boolean = true)
fun create(type: IntelliJPlatformType, version: String, useInstaller: Boolean = true)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The type of the IntelliJ Platform dependency.

version

The version of the IntelliJ Platform dependency.

useInstaller

Switches between the IDE installer and archive from the IntelliJ Maven repository.


fun create(type: Provider<*>, version: String, useInstaller: Boolean = true)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The provider for the type of the IntelliJ Platform dependency. Accepts either IntelliJPlatformType or String.

version

The version of the IntelliJ Platform dependency.

useInstaller

Switches between the IDE installer and archive from the IntelliJ Maven repository.


fun create(type: String, version: Provider<String>, useInstaller: Boolean = true)
fun create(type: IntelliJPlatformType, version: Provider<String>, useInstaller: Boolean = true)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The type of the IntelliJ Platform dependency.

version

The provider for the version of the IntelliJ Platform dependency.

useInstaller

Switches between the IDE installer and archive from the IntelliJ Maven repository.


fun create(type: Provider<*>, version: Provider<String>, useInstaller: Boolean = true, configurationName: String)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The provider for the type of the IntelliJ Platform dependency. Accepts either IntelliJPlatformType or String.

version

The provider for the version of the IntelliJ Platform dependency.

useInstaller

Switches between the IDE installer and archive from the IntelliJ Maven repository.

configurationName

The name of the configuration to add the dependency to.


fun create(type: Provider<*>, version: Provider<String>, useInstaller: Boolean = true)
fun create(type: Provider<*>, version: Provider<String>, useInstaller: Provider<Boolean>)

Adds a dependency on the IntelliJ Platform.

Parameters

type

The provider for the type of the IntelliJ Platform dependency. Accepts either IntelliJPlatformType or String.

version

The provider for the version of the IntelliJ Platform dependency.

useInstaller

Switches between the IDE installer and archive from the IntelliJ Maven repository.


fun create(notation: String, useInstaller: Boolean = true)
fun create(notation: Provider<String>, useInstaller: Boolean = true)

Adds a dependency on the IntelliJ Platform.

Parameters

notation

The IntelliJ Platform dependency. Accepts String in TYPE-VERSION or VERSION format.

useInstaller

Switches between the IDE installer and archive from the IntelliJ Maven repository.