@@ -26,7 +26,6 @@ plugins {
2626group = prop(" pluginGroup" )
2727version = prop(" pluginVersion" )
2828
29- val lsp4jVersion = prop(" lsp4jVersion" )
3029val lsp4jDebugVersion = prop(" lsp4jDebugVersion" )
3130val flexmarkVersion = prop(" flexmarkVersion" )
3231
@@ -74,6 +73,7 @@ dependencies {
7473 // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
7574 plugins(properties(" platformPlugins" ).map { it.split(' ,' ) })
7675
76+ // Tu ajoutes les modules LSP4J de la plateforme JetBrains
7777 if (ideaVersionInt >= 252 ) {
7878 // Since 2025.2, JetBrains moved spellchecker in a new "intellij.spellchecker" module
7979 bundledModule(" intellij.spellchecker" )
@@ -84,12 +84,6 @@ dependencies {
8484 testFramework(TestFrameworkType .Platform )
8585 }
8686
87- implementation(" org.eclipse.lsp4j:org.eclipse.lsp4j:$lsp4jVersion " ) {
88- exclude(group = " org.eclipse.lsp4j" , module= " org.eclipse.lsp4j.jsonrpc" )
89- }
90- implementation(" org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:$lsp4jVersion " ) {
91- exclude(group = " com.google.code.gson" , module = " gson" )
92- }
9387 implementation(" org.eclipse.lsp4j:org.eclipse.lsp4j.debug:$lsp4jDebugVersion " ) {
9488 exclude(group = " org.eclipse.lsp4j" , module = " org.eclipse.lsp4j.jsonrpc.debug" )
9589 }
@@ -109,7 +103,7 @@ dependencies {
109103// Set the JVM language level used to build the project.
110104kotlin {
111105 jvmToolchain {
112- languageVersion = JavaLanguageVersion .of(17 )
106+ languageVersion = JavaLanguageVersion .of(21 )
113107 vendor = JvmVendorSpec .JETBRAINS
114108 }
115109}
0 commit comments