IntelliJ Platform Plugin SDK
 
IntelliJ Platform Explorer

Repositories Extension

Edit pageLast modified: 09 October 2024

This is an extension class for managing IntelliJ Platform repositories in a Gradle build script. It's applied to the RepositoryHandler.

Available in both Project scope and Gradle Settings for DependencyResolutionManagement.

It provides methods to add:

  • IntelliJ Platform repositories (for releases, snapshots, and nightly builds)

  • JetBrains Marketplace repository (for dependencies on non-bundled plugins)

  • JetBrains Runtime repository

  • Android Studio and IntelliJ Platform binary release repositories (for IntelliJ Plugin Verifier)

  • Ivy local repository (for access to local dependencies)

Example:

Setup Maven Central and defaultRepositories() repositories:

repositories {
  mavenCentral()

  intellijPlatform {
    defaultRepositories()
  }
}