Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[all_plugins] Compile all plugins together #1776

Merged
merged 13 commits into from
Jul 10, 2019

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Jun 26, 2019

Description

Add pubspec generating tool to build_all_plugins_app.sh script. This will add all the plugins in the repo to the all_plugins app and test compilation.

@bparrishMines bparrishMines changed the title [all_plugins] Compile all plugins together [WIP] [all_plugins] Compile all plugins together Jun 27, 2019
package="io.plugins.all_plugins"
xmlns:tools="http://schemas.android.com/tools">

<uses-sdk tools:overrideLibrary="io.flutter.plugins.camera"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required because camera plugin is 21+

REPO_DIR="$(dirname "$SCRIPT_DIR")"

source "$SCRIPT_DIR/common.sh"
check_changed_packages > /dev/null

cd $REPO_DIR/examples/all_plugins
flutter clean > /dev/null
(cd "$REPO_DIR" && pub global run flutter_plugin_tools gen-pubspec --exclude firebase_core,firebase_ml_vision)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exclude firebase_core because all the other firebase plugins depend on it. This caused a problem when compiling.

Exclude firebase_ml_vision because it requires iOS 9.0+ which caused a problem when compiling with google_maps_flutter. I didn't want to change either plugin in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm. note that we'll be moving these plugins out of this repo soon.

@bparrishMines bparrishMines removed the WIP label Jul 9, 2019
@bparrishMines bparrishMines changed the title [WIP] [all_plugins] Compile all plugins together [all_plugins] Compile all plugins together Jul 9, 2019
Copy link
Contributor

@collinjackson collinjackson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor issue, lgtm otherwise

examples/all_plugins/pubspec.yaml Outdated Show resolved Hide resolved
REPO_DIR="$(dirname "$SCRIPT_DIR")"

source "$SCRIPT_DIR/common.sh"
check_changed_packages > /dev/null

cd $REPO_DIR/examples/all_plugins
flutter clean > /dev/null
(cd "$REPO_DIR" && pub global run flutter_plugin_tools gen-pubspec --exclude firebase_core,firebase_ml_vision)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm. note that we'll be moving these plugins out of this repo soon.

@bparrishMines bparrishMines merged commit 9eac5bb into flutter:master Jul 10, 2019
@bparrishMines bparrishMines deleted the add_em_yo branch July 10, 2019 20:35
mithun-mondal pushed a commit to bKash-developer/plugins that referenced this pull request Aug 6, 2019
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants