IntelliJPlatformCacheResolver

Resolves IntelliJ Platform dependencies from configured repositories and extracts them to a shared cache directory. This resolver helps avoid Gradle's transform cache issues where multiple copies of IDE distributions are created due to build classpath changes. It provides a custom caching mechanism that reuses extracted IDE content across different build configurations.

See: https://github.com/JetBrains/intellij-platform-gradle-plugin/issues/1601

This class is marked as incubating and may undergo changes in future versions.

Types

Link copied to clipboard
interface Parameters

Functions

Link copied to clipboard
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.

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.