ZigBrains/cidr/build.gradle.kts
2024-11-04 10:57:06 +01:00

24 lines
No EOL
980 B
Kotlin

import org.jetbrains.intellij.platform.gradle.Constants
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
val lsp4jVersion: String by project
val clionVersion: String by project
dependencies {
intellijPlatform {
create(IntelliJPlatformType.CLion, providers.gradleProperty("clionVersion"))
bundledPlugins("com.intellij.clion", "com.intellij.cidr.base", "com.intellij.nativeDebug")
}
implementation(project(":core"))
implementation("org.eclipse.lsp4j:org.eclipse.lsp4j.debug:$lsp4jVersion") {
exclude("org.eclipse.lsp4j", "org.eclipse.lsp4j")
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) {
this.isTransitive = false
}
}