mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2026-10-23 03:42:22 +02:00
intellij.platform.rpc doesn't exist in 2025.3, is embedded in the core classloader in 2026.1-2026.2 and is a standalone module since 2026.3. Declaring it as a dependency of the embedded ideavim-common module disables the whole plugin on 2025.3 and breaks the 2025.3 build. Move the dependency to a new optional ideavim-rpc module that provides VimRemoteApiResolver via the IdeaVIM.remoteApiResolver extension point. When the module is skipped (2025.3), fall back to calling RemoteApiProviderService from the core classloader.
60 lines
1.6 KiB
Kotlin
60 lines
1.6 KiB
Kotlin
/*
|
|
* Copyright 2003-2026 The IdeaVim authors
|
|
*
|
|
* Use of this source code is governed by an MIT-style
|
|
* license that can be found in the LICENSE.txt file or at
|
|
* https://opensource.org/licenses/MIT.
|
|
*/
|
|
|
|
pluginManagement {
|
|
val kspVersion: String by settings
|
|
plugins {
|
|
id("com.google.devtools.ksp") version kspVersion
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url = uri("https://cache-redirector.jetbrains.com/repo.maven.apache.org/maven2")
|
|
}
|
|
maven {
|
|
url = uri("https://cache-redirector.jetbrains.com/plugins.gradle.org/m2")
|
|
}
|
|
maven {
|
|
url = uri("https://cache-redirector.jetbrains.com/packages.jetbrains.team/maven/p/ij/intellij-dependencies")
|
|
}
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
// Automatically download JDKs from Foojay API when required toolchain is not installed locally
|
|
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
|
}
|
|
|
|
rootProject.name = "IdeaVIM"
|
|
|
|
include("vim-engine")
|
|
include("scripts")
|
|
include("annotation-processors")
|
|
include("tests:java-tests")
|
|
include("tests:property-tests")
|
|
include("tests:long-running-tests")
|
|
include("tests:ui-ij-tests")
|
|
include("tests:ui-py-tests")
|
|
include("tests:ui-fixtures")
|
|
include("api")
|
|
include("ideavim-common")
|
|
include("ideavim-frontend")
|
|
include("ideavim-backend")
|
|
include("ideavim-backend-bookmarks")
|
|
include("ideavim-backend-bookmarks-core")
|
|
include("ideavim-acejump")
|
|
include("ideavim-rider")
|
|
include("ideavim-clion-nova")
|
|
include("ideavim-terminal")
|
|
include("ideavim-rpc")
|
|
include("tests:ui-rd-tests")
|
|
include("tests:split-mode-tests")
|
|
include("tests:large-file-tests")
|