diff --git a/build_tool/lib/src/build_gradle.dart b/build_tool/lib/src/build_gradle.dart index 0f4db37..5c37de1 100644 --- a/build_tool/lib/src/build_gradle.dart +++ b/build_tool/lib/src/build_gradle.dart @@ -20,13 +20,15 @@ class BuildGradle { final targets = Environment.targetPlatforms.map((arch) { final target = Target.forFlutterName(arch); if (target == null) { - throw Exception("Unknown darwin target or platform: $arch, ${Environment.darwinPlatformName}"); + throw Exception( + "Unknown darwin target or platform: $arch, ${Environment.darwinPlatformName}"); } return target; }).toList(); final environment = BuildEnvironment.fromEnvironment(isAndroid: true); - final provider = ArtifactProvider(environment: environment, userOptions: userOptions); + final provider = + ArtifactProvider(environment: environment, userOptions: userOptions); final artifacts = await provider.getArtifacts(targets); for (final target in targets) { diff --git a/build_tool/lib/src/precompile_binaries.dart b/build_tool/lib/src/precompile_binaries.dart index 725aa27..6226610 100644 --- a/build_tool/lib/src/precompile_binaries.dart +++ b/build_tool/lib/src/precompile_binaries.dart @@ -157,7 +157,8 @@ class PrecompileBinaries { rethrow; } ++retryCount; - _log.shout('Upload failed (attempt $retryCount, will retry): ${e.toString()}'); + _log.shout( + 'Upload failed (attempt $retryCount, will retry): ${e.toString()}'); await Future.delayed(Duration(seconds: 2)); } }