Ides

abstract class Ides @Inject constructor(dependenciesHelper: IntelliJPlatformDependenciesHelper, extensionProvider: Provider<IntelliJPlatformExtension>, objects: ObjectFactory, providers: ProviderFactory)

The extension to define the IDEs to be used along with the IntelliJ Plugin Verifier CLI tool for the binary plugin verification.

It provides a set of helpers which add relevant entries to the configuration, which later is used to resolve IntelliJ-based IDE binary releases.

Parameters

dependenciesHelper

IntelliJ Platform dependencies helper instance

extensionProvider

IntelliJ Platform extension instance provider

Constructors

Link copied to clipboard
@Inject
constructor(dependenciesHelper: IntelliJPlatformDependenciesHelper, extensionProvider: Provider<IntelliJPlatformExtension>, objects: ObjectFactory, providers: ProviderFactory)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Creates and configures an instance of IntelliJPlatformDependencyConfiguration and adds an IntelliJ Platform dependency based on the provided configuration.

@JvmName(name = "createFromStringProvider")
fun create(provider: Provider<String>, configure: IntelliJPlatformDependencyConfiguration.(String) -> Unit)

Adds a dependency on the IntelliJ Platform using a Provider.

fun create(provider: Provider<List<String>>, configure: IntelliJPlatformDependencyConfiguration.(String) -> Unit = { notation -> val (type, version) = notation.parseIdeNotation() this.type = type this.version = version })

Adds multiple dependencies on the IntelliJ Platform using a Provider.

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

Adds a dependency on the IntelliJ Platform.

Link copied to clipboard
fun current()

Adds the currently targeted IntelliJ Platform to be used for testing with the IntelliJ Plugin Verifier.

Link copied to clipboard
fun latest(configure: ProductReleasesFilterParameters.() -> Unit = {})

Adds the latest available IntelliJ Platform of the currently used type to be used for testing with the IntelliJ Plugin Verifier.

Link copied to clipboard
fun local(localPath: File)
fun local(localPath: String)
fun local(localPath: Directory)
fun local(localPath: Provider<*>)

Adds the local IDE to be used for testing with the IntelliJ Plugin Verifier.

Link copied to clipboard
@JvmName(name = "orRecommendedFromStringProvider")
fun Provider<String>.orRecommended(): Provider<List<String>?>?
fun Provider<List<String>>.orRecommended(): Provider<List<String>?>?

Helper to fall back to the recommended IDE list when the receiver provider is absent.

Link copied to clipboard

Retrieves matching IDEs using the default configuration based on the currently used IntelliJ Platform and applies them for IntelliJ Platform Verifier.

Link copied to clipboard
fun select(configure: ProductReleasesFilterParameters.() -> Unit = {})

Retrieves matching IDEs using custom filter parameters.