Revert "Always use new plugin schema for plugin template (#48258)" (#49827)

This reverts commit 9d4a35b because it appears to break

the gradle_non_android_plugin_test.
This commit is contained in:
Greg Spencer
2020-01-30 12:46:12 -08:00
committed by GitHub
parent 0be9127dfd
commit 6ee8b6546b
2 changed files with 19 additions and 2 deletions

View File

@@ -642,6 +642,10 @@ To edit platform code in an IDE see https://flutter.dev/developing-packages/#edi
'web': web,
'macos': macos,
'year': DateTime.now().year,
// For now, the new plugin schema is only used when a desktop plugin is
// enabled. Once the new schema is supported on stable, this should be
// removed, and the new schema should always be used.
'useNewPluginSchema': macos,
// If a desktop platform is included, add a workaround for #31366.
// When Linux and Windows are added, we will need this workaround again.
'includeTargetPlatformWorkaround': false,