testPlatformDependency

fun testPlatformDependency(coordinates: Coordinates, version: String = Constraints.CLOSEST_VERSION, configurationName: String = Configurations.INTELLIJ_PLATFORM_TEST_DEPENDENCIES)
fun testPlatformDependency(coordinates: Coordinates, version: Provider<String>, configurationName: String = Configurations.INTELLIJ_PLATFORM_TEST_DEPENDENCIES)

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.

version

IntelliJ Platform dependency version.

configurationName

The name of the configuration to add the dependency to.