SIGN IN SIGN UP

[flutter_tools] change the IntelliJ plugin detection logic. (#68020)

This PR suggests improving the IntelliJ plugin "jar" detection logic.

Previously:
The IntelliJ Flutter plugin was contained flutter-intellij.jar.
Currently:
It is named flutter-intellij-X.Y.Z.jar and does not contain META-INF/plugin.xml.
META-INF/plugin.xml is included in flutter-idea-X.Y.Z.jar.

So this PR changes the rules for searching the plugin's jar file.
Concretely, it looks for the jar file containing META-INF/plugin.xml in the plugin's package directory and reads the package version from its META-INF/plugin.xml.

Co-authored-by: Jonah Williams <jonahwilliams@google.com>
N
Nobuhiro Tabuki committed
4e2f82cf9303c1c78c7a2eed19749eb21967988d
Parent: c97ea71
Committed by GitHub <noreply@github.com> on 10/19/2020, 3:19:48 PM