Bump Android dependencies that rely on Jcenter (#96558)

* Bump video_player in flutter gallery

* Update packages

* Update dependencies

* Bump device_info

* Update dev/devicelab/bin/tasks/build_ios_framework_module_test.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Update dev/devicelab/bin/tasks/module_custom_host_app_name_test.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Update dev/devicelab/bin/tasks/module_test.dart

Co-authored-by: Jenn Magder <magder@google.com>

* Remove deprecated device_info from ios-frameworks test

Co-authored-by: Jenn Magder <magder@google.com>
This commit is contained in:
Emmanuel Garcia
2022-01-12 20:13:32 -08:00
committed by GitHub
parent 2ab2ca2bc6
commit f01556ab75
49 changed files with 351 additions and 184 deletions

View File

@@ -66,7 +66,7 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
String content = pubspec.readAsStringSync();
content = content.replaceFirst(
'\ndependencies:\n',
'\ndependencies:\n device_info: 0.4.1\n package_info: 0.4.0+9\n connectivity: 3.0.3\n',
'\ndependencies:\n package_info: 2.0.2\n connectivity: 3.0.6\n',
);
pubspec.writeAsStringSync(content, flush: true);
await inDirectory(projectDir, () async {
@@ -263,10 +263,10 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
final String pluginFrameworkPath = path.join(
outputPath,
mode,
'device_info.xcframework',
'connectivity.xcframework',
'ios-arm64_armv7',
'device_info.framework',
'device_info',
'connectivity.framework',
'connectivity',
);
await _checkBitcode(pluginFrameworkPath, mode);
if (!await _linksOnFlutter(pluginFrameworkPath)) {
@@ -288,41 +288,41 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
checkFileExists(path.join(
outputPath,
mode,
'device_info.xcframework',
'connectivity.xcframework',
'ios-arm64_armv7',
'device_info.framework',
'connectivity.framework',
'Headers',
'DeviceInfoPlugin.h',
'FLTConnectivityPlugin.h',
));
if (mode != 'Debug') {
checkDirectoryExists(path.join(
outputPath,
mode,
'device_info.xcframework',
'connectivity.xcframework',
'ios-arm64_armv7',
'dSYMs',
'device_info.framework.dSYM',
'connectivity.framework.dSYM',
));
}
final String simulatorFrameworkPath = path.join(
outputPath,
mode,
'device_info.xcframework',
'connectivity.xcframework',
'ios-arm64_x86_64-simulator',
'device_info.framework',
'device_info',
'connectivity.framework',
'connectivity',
);
final String simulatorFrameworkHeaderPath = path.join(
outputPath,
mode,
'device_info.xcframework',
'connectivity.xcframework',
'ios-arm64_x86_64-simulator',
'device_info.framework',
'connectivity.framework',
'Headers',
'DeviceInfoPlugin.h',
'FLTConnectivityPlugin.h',
);
checkFileExists(simulatorFrameworkPath);
@@ -332,7 +332,7 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
checkDirectoryExists(path.join(
outputPath,
'Release',
'device_info.xcframework',
'connectivity.xcframework',
'ios-arm64_armv7',
'BCSymbolMaps',
));
@@ -415,12 +415,6 @@ Future<void> _testBuildIosFramework(Directory projectDir, { bool isModule = fals
'Unexpected FlutterPluginRegistrant.xcframework.');
}
checkDirectoryExists(path.join(
cocoapodsOutputPath,
mode,
'device_info.xcframework',
));
checkDirectoryExists(path.join(
cocoapodsOutputPath,
mode,

View File

@@ -72,7 +72,7 @@ Future<void> main() async {
content = await pubspec.readAsString();
content = content.replaceFirst(
'${platformLineSep}dependencies:$platformLineSep',
'${platformLineSep}dependencies:$platformLineSep device_info: 0.4.1$platformLineSep package_info: 0.4.0+9$platformLineSep',
'${platformLineSep}dependencies:$platformLineSep device_info: 2.0.3$platformLineSep package_info: 2.0.2$platformLineSep',
);
await pubspec.writeAsString(content, flush: true);
await inDirectory(projectDir, () async {

View File

@@ -75,7 +75,7 @@ Future<void> main() async {
content = await pubspec.readAsString();
content = content.replaceFirst(
'${platformLineSep}dependencies:$platformLineSep',
'${platformLineSep}dependencies:$platformLineSep device_info: 0.4.1$platformLineSep package_info: 0.4.0+9$platformLineSep',
'${platformLineSep}dependencies:$platformLineSep device_info: 2.0.3$platformLineSep package_info: 2.0.2$platformLineSep',
);
await pubspec.writeAsString(content, flush: true);
await inDirectory(projectDir, () async {

View File

@@ -159,7 +159,7 @@ Future<void> main() async {
content = content.replaceFirst(
'\ndependencies:\n',
// One dynamic framework, one static framework, and one that does not support iOS.
'\ndependencies:\n device_info: 0.4.2+4\n google_sign_in: 4.5.1\n android_alarm_manager: 0.4.5+11\n',
'\ndependencies:\n device_info: 2.0.3\n google_sign_in: 4.5.1\n android_alarm_manager: 0.4.5+11\n',
);
await pubspec.writeAsString(content, flush: true);
await inDirectory(projectDir, () async {

View File

@@ -48,8 +48,8 @@ dependencies:
dev_dependencies:
test: 1.20.1
_fe_analyzer_shared: 32.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
analyzer: 3.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
_fe_analyzer_shared: 33.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
analyzer: 3.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
cli_util: 0.3.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
coverage: 1.0.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -71,4 +71,4 @@ dev_dependencies:
watcher: 1.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
web_socket_channel: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: dc83
# PUBSPEC CHECKSUM: 4c85