resolve

fun resolve(type: Any, version: String, configurationName: String, configure: IntelliJPlatformDependencyConfiguration.() -> Unit = {}): Path
fun resolve(type: Any, version: Provider<String>, configurationName: String, configure: IntelliJPlatformDependencyConfiguration.() -> Unit = {}): Path
fun resolve(type: Provider<*>, version: Provider<String>, configurationName: String, configure: IntelliJPlatformDependencyConfiguration.() -> Unit = {}): Path

Resolves an IntelliJ Platform dependency based on the specified type, version, and installation preferences.

This method converts the string type to an IntelliJPlatformType and creates providers for all parameters before delegating to the main resolve implementation.

Return

The path to the resolved IntelliJ Platform

Parameters

type

The IntelliJ Platform type as a string (e.g., "IC", "IU", "CL", etc.)

version

The version of the IntelliJ Platform to resolve

configure

IntelliJ Platform dependency configuration.


fun resolve(configurationName: String, configure: IntelliJPlatformDependencyConfiguration.() -> Unit): Path

Resolves an IntelliJ Platform dependency based on the specified type provider, version provider, and installation preferences provider.

This is the main implementation method that all other resolve methods delegate to. It creates a unique configuration name, gets the IntelliJPlatformDependenciesHelper, and creates a request for the IntelliJ Platform with the specified parameters.

Return

The path to the resolved IntelliJ Platform

Parameters

configure

IntelliJ Platform dependency configuration.