ZigBrains/lsp/build.gradle.kts

25 lines
844 B
Text
Raw Permalink Normal View History

import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
plugins {
kotlin("plugin.serialization")
}
val lsp4ijVersion: String by project
val lsp4jVersion: String by project
val ideaCommunityVersion: String by project
val useInstaller = property("useInstaller").toString().toBoolean()
2025-04-17 09:43:59 +02:00
val serializationVersion: String by project
dependencies {
intellijPlatform {
create(IntelliJPlatformType.IntellijIdeaCommunity, ideaCommunityVersion, useInstaller = useInstaller)
}
2025-04-17 09:43:59 +02:00
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:$serializationVersion") {
isTransitive = false
}
compileOnly("com.redhat.devtools.intellij:lsp4ij:$lsp4ijVersion")
compileOnly("org.eclipse.lsp4j:org.eclipse.lsp4j:$lsp4jVersion")
implementation(project(":core")) {
isTransitive = false
}
}