ZigBrains/cidr/build.gradle.kts

24 lines
980 B
Text
Raw Normal View History

2024-11-04 02:52:00 +01:00
import org.jetbrains.intellij.platform.gradle.Constants
import org.jetbrains.intellij.platform.gradle.IntelliJPlatformType
val lsp4jVersion: String by project
2024-11-04 02:52:00 +01:00
val clionVersion: String by project
dependencies {
intellijPlatform {
create(IntelliJPlatformType.CLion, providers.gradleProperty("clionVersion"))
2024-11-04 02:52:00 +01:00
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")
}
2024-11-04 10:57:06 +01:00
compileOnly("org.eclipse.lsp4j:org.eclipse.lsp4j:$lsp4jVersion")
2024-11-04 02:52:00 +01:00
}
configurations[Constants.Configurations.INTELLIJ_PLATFORM_BUNDLED_PLUGINS].dependencies.configureEach {
if (this is ExternalModuleDependency) {
this.isTransitive = false
}
}