Change meaning of a plugin not supporting the android platform (#47015)

This commit is contained in:
Emmanuel Garcia
2019-12-17 19:48:01 -08:00
committed by Flutter GitHub Bot
parent b3e14cc664
commit 9884f9980f
4 changed files with 34 additions and 12 deletions

View File

@@ -74,7 +74,9 @@ Future<void> main() async {
);
});
File(path.join(pluginCDirectory.path, 'android')).deleteSync(recursive: true);
// https://github.com/flutter/flutter/issues/46898
// https://github.com/flutter/flutter/issues/39657
File(path.join(pluginCDirectory.path, 'android', 'build.gradle')).deleteSync();
final File pluginCpubspec = File(path.join(pluginCDirectory.path, 'pubspec.yaml'));
await pluginCpubspec.writeAsString('''