Skip to content

Commit 4166bb6

Browse files
committed
corrected copied typo, excluding the gemini code assist plugin for 2025.1
1 parent 6860e12 commit 4166bb6

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

build.gradle.kts

+6-3
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ dependencies {
9191
}
9292
testFramework(TestFrameworkType.Platform)
9393

94-
// Plugin dependnecy documentation:
94+
// Plugin dependency documentation:
9595
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#plugins
9696
val bundledPluginList = mutableListOf(
9797
"com.intellij.java",
@@ -101,8 +101,11 @@ dependencies {
101101
"org.jetbrains.kotlin",
102102
"org.jetbrains.plugins.gradle",
103103
"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+
}
106109
if (ideaProduct == "android-studio") {
107110
bundledPluginList.add("org.jetbrains.android")
108111
bundledPluginList.add("com.android.tools.idea.smali")

flutter-idea/build.gradle.kts

+6-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dependencies {
7070
}
7171
testFramework(TestFrameworkType.Platform)
7272

73-
// Plugin dependnecy documentation:
73+
// Plugin dependency documentation:
7474
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#plugins
7575
val bundledPluginList = mutableListOf(
7676
"com.intellij.java",
@@ -79,9 +79,11 @@ dependencies {
7979
"Git4Idea",
8080
"org.jetbrains.kotlin",
8181
"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+
}
8587
if (ideaProduct == "android-studio") {
8688
bundledPluginList.add("org.jetbrains.android")
8789
bundledPluginList.add("com.android.tools.idea.smali")

flutter-studio/build.gradle.kts

+6-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dependencies {
7070
}
7171
testFramework(TestFrameworkType.Platform)
7272

73-
// Plugin dependnecy documentation:
73+
// Plugin dependency documentation:
7474
// https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html#plugins
7575
val bundledPluginList = mutableListOf(
7676
"com.intellij.java",
@@ -80,8 +80,11 @@ dependencies {
8080
"org.jetbrains.kotlin",
8181
"org.jetbrains.plugins.gradle",
8282
"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+
}
8588
if (ideaProduct == "android-studio") {
8689
bundledPluginList.add("org.jetbrains.android")
8790
bundledPluginList.add("com.android.tools.idea.smali")

0 commit comments

Comments
 (0)