From b32c456983f9d822cdb2447db80344a1ba04ca55 Mon Sep 17 00:00:00 2001
From: Fred Bricon
Date: Wed, 6 Dec 2023 12:50:57 +0100
Subject: [PATCH] build: update dependencies and description
Signed-off-by: Fred Bricon
---
build.gradle.kts | 22 +++----------------
src/main/resources/META-INF/plugin.xml | 30 +++++++++++++++++++++-----
2 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/build.gradle.kts b/build.gradle.kts
index 61db96bee..e886f7a74 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,5 +1,4 @@
import com.adarshr.gradle.testlogger.theme.ThemeType
-import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.intellij.tasks.RunPluginVerifierTask.VerificationReportsFormats.*
import org.jetbrains.intellij.tasks.RunPluginVerifierTask.FailureLevel.*
@@ -51,12 +50,11 @@ sourceSets {
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
dependencies {
implementation("org.zeroturnaround:zt-zip:1.14")
- implementation("com.kotcrab.remark:remark:1.2.0")
- implementation("org.jsoup:jsoup:1.14.2")
+ implementation("org.jsoup:jsoup:1.17.1")
implementation("org.eclipse.lsp4j:org.eclipse.lsp4j:$lsp4jVersion")
// Required by lsp4j as the version from IJ is incompatible
- implementation("com.google.code.gson:gson:2.8.9")
- implementation("com.vladsch.flexmark:flexmark:0.62.2")
+ implementation("com.google.code.gson:gson:2.10.1")
+ implementation("com.vladsch.flexmark:flexmark:0.64.8")
testImplementation("com.redhat.devtools.intellij:intellij-common-ui-test-library:0.2.0")
testImplementation("org.assertj:assertj-core:3.19.0")
@@ -151,20 +149,6 @@ tasks {
version = properties("pluginVersion")
sinceBuild = properties("pluginSinceBuild")
untilBuild = properties("pluginUntilBuild")
-
- // Extract the section from README.md and provide for the plugin's manifest
- pluginDescription = providers.fileContents(layout.projectDirectory.file("README.md")).asText.map {
- val start = ""
- val end = ""
-
- with(it.lines()) {
- if (!containsAll(listOf(start, end))) {
- throw GradleException("Plugin description section not found in README.md:\n$start ... $end")
- }
- subList(indexOf(start) + 1, indexOf(end)).joinToString("\n").let(::markdownToHTML)
- }
- }
-
//TODO inject changelog into plugin.xml change-notes
}
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 39a7e5c07..a82acd686 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -10,12 +10,32 @@
Initial release
Learn more in the changelog.
+ ]]>
+
+
+ LSP4IJ is a free and open-source Language Server protocol (LSP) client compatible with all flavors of IntelliJ.
+
+ It currently doesn't provide any useful functionality on its own but is instead used as a dependency for other extensions, willing to integrate language servers with IntelliJ products.
+
+ LSP4IJ provides:
+
+ - Language server
extension points
to add any language server:
+
+ com.redhat.devtools.lsp4ij.server
extension point to define a language server.
+ com.redhat.devtools.lsp4ij.languageMapping
to associate an IntelliJ language with a language server definition.
+
+
+ - An
LSP Consoles view
to track LSP requests, responses, and notifications in a console.
+ - A
Language Servers settings page
to configure the LSP trace level and the debug port to use to debug the language server.
+
]]>
-
- com.intellij.modules.platform
-
- com.intellij.modules.java
- com.redhat.devtools.intellij.telemetry
+
+
+ com.intellij.modules.platform
+
+ com.intellij.modules.java
+ com.redhat.devtools.intellij.telemetry