This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ ALL_EXCLUDED=($EXCLUDED)
56
56
if [ " $CHANNEL " == " stable" ]; then
57
57
ALL_EXCLUDED=(" $EXCLUDED ,$EXCLUDED_PLUGINS_FROM_STABLE " )
58
58
fi
59
+ # Exclude non-nnbd plugins from master.
60
+ if [ " $CHANNEL " != " stable" ]; then
61
+ ALL_EXCLUDED=(" $EXCLUDED ,$EXCLUDED_PLUGINS_FROM_MASTER " )
62
+ fi
59
63
60
64
echo " Excluding the following plugins: $ALL_EXCLUDED "
61
65
Original file line number Diff line number Diff line change @@ -21,4 +21,22 @@ readonly NNBD_PLUGINS_LIST=(
21
21
" webview_flutter"
22
22
)
23
23
24
+ # This list contains the list of plugins that have *not* been
25
+ # migrated to nnbd, and conflict with those that have when
26
+ # building the all plugins app. This list should be kept empty.
27
+
28
+ readonly NON_NNBD_PLUGINS_LIST=(
29
+ # "android_alarm_manager"
30
+ " camera"
31
+ # "file_selector"
32
+ # "google_maps_flutter"
33
+ # "image_picker"
34
+ # "in_app_purchase"
35
+ # "quick_actions"
36
+ # "sensors"
37
+ # "shared_preferences"
38
+ # "wifi_info_flutter"
39
+ )
40
+
24
41
export EXCLUDED_PLUGINS_FROM_STABLE=$( IFS=, ; echo " ${NNBD_PLUGINS_LIST[*]} " )
42
+ export EXCLUDED_PLUGINS_FROM_MASTER=$( IFS=, ; echo " ${NON_NNBD_PLUGINS_LIST[*]} " )
You can’t perform that action at this time.
0 commit comments