diff --git a/build.gradle.kts b/build.gradle.kts index bade51d1..638e4217 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -68,6 +68,17 @@ allprojects { } repositories { + exclusiveContent { + forRepository { + maven { + setUrl("https://mvn.falsepattern.com/releases") + name = "mavenpattern" + } + } + filter { + includeModule("com.redhat.devtools.intellij", "lsp4ij") + } + } mavenCentral() intellijPlatform { diff --git a/cidr/build.gradle.kts b/cidr/build.gradle.kts index 300e8899..96413a6a 100644 --- a/cidr/build.gradle.kts +++ b/cidr/build.gradle.kts @@ -15,6 +15,7 @@ dependencies { exclude("org.eclipse.lsp4j", "org.eclipse.lsp4j.jsonrpc") exclude("com.google.code.gson", "gson") } + compileOnly("org.eclipse.lsp4j:org.eclipse.lsp4j:$lsp4jVersion") } configurations[Constants.Configurations.INTELLIJ_PLATFORM_BUNDLED_PLUGINS].dependencies.configureEach { if (this is ExternalModuleDependency) { diff --git a/core/build.gradle.kts b/core/build.gradle.kts index c235dd3a..287723ce 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -9,14 +9,12 @@ plugins { val lsp4ijVersion: String by project val lsp4jVersion: String by project -val lsp4ijNightly = property("lsp4ijNightly").toString().toBoolean() -val lsp4ijDepString = "${if (lsp4ijNightly) "nightly." else ""}com.jetbrains.plugins:com.redhat.devtools.lsp4ij:$lsp4ijVersion" dependencies { intellijPlatform { create(IntelliJPlatformType.IntellijIdeaCommunity, providers.gradleProperty("ideaCommunityVersion")) } - intellijPlatformPluginDependency(lsp4ijDepString) + compileOnly("com.redhat.devtools.intellij:lsp4ij:$lsp4ijVersion") compileOnly("org.eclipse.lsp4j:org.eclipse.lsp4j:$lsp4jVersion") compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-core:1.6.3") }