2025-02-18 15:36:39 +01:00
|
|
|
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 13:45:42 +02:00
|
|
|
val serializationVersion: String by project
|
2025-02-18 15:36:39 +01:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
intellijPlatform {
|
|
|
|
create(IntelliJPlatformType.IntellijIdeaCommunity, ideaCommunityVersion, useInstaller = useInstaller)
|
|
|
|
}
|
2025-04-17 13:45:42 +02:00
|
|
|
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:$serializationVersion") {
|
|
|
|
isTransitive = false
|
|
|
|
}
|
2025-02-18 15:36:39 +01:00
|
|
|
compileOnly("com.redhat.devtools.intellij:lsp4ij:$lsp4ijVersion")
|
|
|
|
compileOnly("org.eclipse.lsp4j:org.eclipse.lsp4j:$lsp4jVersion")
|
2025-04-04 16:43:25 +02:00
|
|
|
implementation(project(":core")) {
|
|
|
|
isTransitive = false
|
|
|
|
}
|
2025-02-18 15:36:39 +01:00
|
|
|
}
|