platformDependency

fun platformDependency(coordinates: Coordinates, version: String = Constraints.CLOSEST_VERSION)
fun platformDependency(coordinates: Coordinates, version: Provider<String>)

Adds a dependency on the test-framework library or its variant, required for testing plugins.

The version, if absent, is determined by the IntelliJ Platform build number.

Parameters

coordinates

IntelliJ Platform dependency coordinates

artifactId

IntelliJ Platform dependency artifactId

version

IntelliJ Platform dependency version