cleaner LSP4IJ dep
This commit is contained in:
parent
aa1b8e3561
commit
9e65bcc639
3 changed files with 13 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue