File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,17 @@ dependencies {
36
36
create(IntelliJPlatformType .IntellijIdeaCommunity , platformVersion)
37
37
38
38
// Bundled Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
39
+ // starting from 2024.3, all json related code is know on its own plugin
40
+ val platformBundledPlugins = ArrayList <String >()
41
+ platformBundledPlugins.addAll(providers.gradleProperty(" platformBundledPlugins" ).map { it.split(' ,' ).map(String ::trim).filter(String ::isNotEmpty) }.get())
42
+ /*
43
+ * platformVersion check for JSON breaking changes since 2024.3
44
+ */
45
+ if (platformVersion.startsWith(" 2024.3" ) || platformVersion.startsWith(" 25" )) {
46
+ platformBundledPlugins.add(" com.intellij.modules.json" )
47
+ }
48
+ println (" use bundled Plugins: $platformBundledPlugins " )
49
+ bundledPlugins(platformBundledPlugins)
39
50
bundledPlugins(providers.gradleProperty(" platformBundledPlugins" ).map { it.split(' ,' ) })
40
51
41
52
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ ideaVersion=2024.3
9
9
gradleVersion =8.5
10
10
11
11
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
12
- platformBundledPlugins =org.jetbrains.plugins.yaml,com.intellij.modules.json
12
+ platformBundledPlugins =org.jetbrains.plugins.yaml
13
13
platformPlugins =
14
14
15
15
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
You can’t perform that action at this time.
0 commit comments