Skip to content

Commit ed9d34d

Browse files
authored
⚙️ Flip org.jetbrains.android to optional (#7949)
> [!TIP] > To try out the plugin on other IDEs, head over to https://github.com/AlexV525/flutter-intellij/releases and download the latest release! Resolves #6809 Resolves #7205 Resolves #7947 Tested with PyCharm 2024.3.2 <img width="607" alt="9c500df58e0a9cb95686c54b8d545cbf" src="https://github.com/user-attachments/assets/f393f13d-9f87-41f0-b53c-8fd361193166" /> ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] All existing and new tests are passing. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
1 parent 5ad7540 commit ed9d34d

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ChangJoo Park <[email protected]>
1313
Amol Grover <[email protected]>
1414
Jeremy Judeaux <[email protected]>
1515
Letticia Nicoli <[email protected]>
16-
Alex Li <google@alexv525.com>
16+
Alex Li <alexv.525.li@gmail.com>
1717
Marcus Tomlinson <[email protected]>
1818
Juyeong Lee <[email protected]>
1919
Hrishikesh Kadam <[email protected]>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!-- Defines Android-supported IDE-specific contributions and implementations. -->
2+
<idea-plugin>
3+
</idea-plugin>

resources/META-INF/plugin.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<depends>com.intellij.modules.lang</depends>
3030
<depends>com.intellij.modules.xdebugger</depends>
3131
<depends>org.jetbrains.plugins.yaml</depends>
32-
<depends>org.jetbrains.android</depends>
3332
<depends>Dart</depends>
3433
<depends>Git4Idea</depends>
3534

@@ -43,6 +42,9 @@
4342
<!-- Contributes Gemini Code Assist extensions. -->
4443
<depends optional="true" config-file="gemini-contribs.xml">com.google.tools.ij.aiplugin</depends>
4544

45+
<!-- Contributes Android-supported features and implementations. -->
46+
<depends optional="true" config-file="android-contribs.xml">org.jetbrains.android</depends>
47+
4648
<!-- Contributes Android Studio-specific features and implementations. -->
4749
<!--suppress PluginXmlValidity -->
4850
<depends optional="true" config-file="studio-contribs.xml">com.intellij.modules.androidstudio</depends>

resources/META-INF/plugin_template.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<depends>com.intellij.modules.lang</depends>
2828
<depends>com.intellij.modules.xdebugger</depends>
2929
<depends>org.jetbrains.plugins.yaml</depends>
30-
<depends>org.jetbrains.android</depends>
3130
<depends>Dart</depends>
3231
<depends>Git4Idea</depends>
3332

@@ -41,6 +40,9 @@
4140
<!-- Contributes Gemini Code Assist extensions. -->
4241
<depends optional="true" config-file="gemini-contribs.xml">com.google.tools.ij.aiplugin</depends>
4342

43+
<!-- Contributes Android-supported features and implementations. -->
44+
<depends optional="true" config-file="android-contribs.xml">org.jetbrains.android</depends>
45+
4446
<!-- Contributes Android Studio-specific features and implementations. -->
4547
<!--suppress PluginXmlValidity -->
4648
<depends optional="true" config-file="studio-contribs.xml">@DEPEND@</depends>

0 commit comments

Comments
 (0)