File tree 3 files changed +18
-10
lines changed
3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ dependencies {
91
91
}
92
92
testFramework(TestFrameworkType .Platform )
93
93
94
- // Plugin dependnecy documentation:
94
+ // Plugin dependency documentation:
95
95
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#plugins
96
96
val bundledPluginList = mutableListOf (
97
97
" com.intellij.java" ,
@@ -101,8 +101,11 @@ dependencies {
101
101
" org.jetbrains.kotlin" ,
102
102
" org.jetbrains.plugins.gradle" ,
103
103
" org.intellij.intelliLang" ,
104
- " com.google.tools.ij.aiplugin" ,
105
- )
104
+ " org.intellij.intelliLang" )
105
+ // TODO(mossman) - this check should be removed when 2025.1 supports the Gemini Code Assist plugin (https://github.com/flutter/flutter-intellij/issues/7965)
106
+ if (ideaVersion.startsWith(" 225." )) {
107
+ bundledPluginList.add(" com.google.tools.ij.aiplugin" )
108
+ }
106
109
if (ideaProduct == " android-studio" ) {
107
110
bundledPluginList.add(" org.jetbrains.android" )
108
111
bundledPluginList.add(" com.android.tools.idea.smali" )
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
70
70
}
71
71
testFramework(TestFrameworkType .Platform )
72
72
73
- // Plugin dependnecy documentation:
73
+ // Plugin dependency documentation:
74
74
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#plugins
75
75
val bundledPluginList = mutableListOf (
76
76
" com.intellij.java" ,
@@ -79,9 +79,11 @@ dependencies {
79
79
" Git4Idea" ,
80
80
" org.jetbrains.kotlin" ,
81
81
" org.jetbrains.plugins.gradle" ,
82
- " org.intellij.intelliLang" ,
83
- " com.google.tools.ij.aiplugin" ,
84
- )
82
+ " org.intellij.intelliLang" )
83
+ // TODO(mossman) - this check should be removed when 2025.1 supports the Gemini Code Assist plugin (https://github.com/flutter/flutter-intellij/issues/7965)
84
+ if (ideaVersion.startsWith(" 225." )) {
85
+ bundledPluginList.add(" com.google.tools.ij.aiplugin" )
86
+ }
85
87
if (ideaProduct == " android-studio" ) {
86
88
bundledPluginList.add(" org.jetbrains.android" )
87
89
bundledPluginList.add(" com.android.tools.idea.smali" )
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dependencies {
70
70
}
71
71
testFramework(TestFrameworkType .Platform )
72
72
73
- // Plugin dependnecy documentation:
73
+ // Plugin dependency documentation:
74
74
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#plugins
75
75
val bundledPluginList = mutableListOf (
76
76
" com.intellij.java" ,
@@ -80,8 +80,11 @@ dependencies {
80
80
" org.jetbrains.kotlin" ,
81
81
" org.jetbrains.plugins.gradle" ,
82
82
" org.intellij.intelliLang" ,
83
- " com.google.tools.ij.aiplugin" ,
84
- )
83
+ " org.intellij.intelliLang" )
84
+ // TODO(mossman) - this check should be removed when 2025.1 supports the Gemini Code Assist plugin (https://github.com/flutter/flutter-intellij/issues/7965)
85
+ if (ideaVersion.startsWith(" 225." )) {
86
+ bundledPluginList.add(" com.google.tools.ij.aiplugin" )
87
+ }
85
88
if (ideaProduct == " android-studio" ) {
86
89
bundledPluginList.add(" org.jetbrains.android" )
87
90
bundledPluginList.add(" com.android.tools.idea.smali" )
You can’t perform that action at this time.
0 commit comments