@@ -6,7 +6,6 @@ import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.Verificatio
66import org.jetbrains.intellij.platform.gradle.TestFrameworkType
77import org.jetbrains.intellij.platform.gradle.models.ProductRelease
88
9-
109fun properties (key : String ) = providers.gradleProperty(key)
1110fun environment (key : String ) = providers.environmentVariable(key)
1211fun prop (name : String ): String {
@@ -26,8 +25,6 @@ plugins {
2625group = prop(" pluginGroup" )
2726version = prop(" pluginVersion" )
2827
29- val lsp4jVersion = prop(" lsp4jVersion" )
30- val lsp4jDebugVersion = prop(" lsp4jDebugVersion" )
3128val flexmarkVersion = prop(" flexmarkVersion" )
3229
3330val platformVersion = prop(" platformVersion" )
@@ -74,6 +71,7 @@ dependencies {
7471 // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
7572 plugins(properties(" platformPlugins" ).map { it.split(' ,' ) })
7673
74+ // Tu ajoutes les modules LSP4J de la plateforme JetBrains
7775 if (ideaVersionInt >= 252 ) {
7876 // Since 2025.2, JetBrains moved spellchecker in a new "intellij.spellchecker" module
7977 bundledModule(" intellij.spellchecker" )
@@ -84,19 +82,6 @@ dependencies {
8482 testFramework(TestFrameworkType .Platform )
8583 }
8684
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- }
93- implementation(" org.eclipse.lsp4j:org.eclipse.lsp4j.debug:$lsp4jDebugVersion " ) {
94- exclude(group = " org.eclipse.lsp4j" , module = " org.eclipse.lsp4j.jsonrpc.debug" )
95- }
96- implementation(" org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc.debug:$lsp4jDebugVersion " ) {
97- exclude(group = " com.google.code.gson" , module = " gson" )
98- }
99-
10085 implementation(" com.vladsch.flexmark:flexmark:$flexmarkVersion " )
10186 implementation(" com.vladsch.flexmark:flexmark-ext-tables:$flexmarkVersion " )
10287 implementation(" com.vladsch.flexmark:flexmark-ext-autolink:$flexmarkVersion " )
@@ -109,7 +94,7 @@ dependencies {
10994// Set the JVM language level used to build the project.
11095kotlin {
11196 jvmToolchain {
112- languageVersion = JavaLanguageVersion .of(17 )
97+ languageVersion = JavaLanguageVersion .of(21 )
11398 vendor = JvmVendorSpec .JETBRAINS
11499 }
115100}
0 commit comments