testPlatformDependency

fun testPlatformDependency(coordinates: Coordinates, version: String = Constraints.CLOSEST_VERSION)
fun testPlatformDependency(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

groupId

IntelliJ Platform dependency groupId

artifactId

IntelliJ Platform dependency artifactId

version

IntelliJ Platform dependency version