diff --git a/packages/flutter_tools/lib/src/android/gradle.dart b/packages/flutter_tools/lib/src/android/gradle.dart index c921a3b8c8..44a1bf325b 100644 --- a/packages/flutter_tools/lib/src/android/gradle.dart +++ b/packages/flutter_tools/lib/src/android/gradle.dart @@ -620,7 +620,7 @@ ${globals.terminal.bolden('Consuming the Module')} for (final String buildMode in buildModes) { globals.printStatus(''' - ${buildMode}Implementation '$androidPackage:flutter_$buildMode:$buildNumber'''); + ${buildMode}Implementation \'$androidPackage:flutter_$buildMode:$buildNumber\''''); } globals.printStatus(''' diff --git a/packages/flutter_tools/test/general.shard/android/gradle_test.dart b/packages/flutter_tools/test/general.shard/android/gradle_test.dart index 7ff225e41d..cae730fc06 100644 --- a/packages/flutter_tools/test/general.shard/android/gradle_test.dart +++ b/packages/flutter_tools/test/general.shard/android/gradle_test.dart @@ -1852,9 +1852,9 @@ plugin1=${plugin1.path} ' 3. Make the host app depend on the Flutter module:\n' '\n' ' dependencies {\n' - ' releaseImplementation \'com.mycompany:flutter_release:2.2\n' - ' debugImplementation \'com.mycompany:flutter_debug:2.2\n' - ' profileImplementation \'com.mycompany:flutter_profile:2.2\n' + ' releaseImplementation \'com.mycompany:flutter_release:2.2\'\n' + ' debugImplementation \'com.mycompany:flutter_debug:2.2\'\n' + ' profileImplementation \'com.mycompany:flutter_profile:2.2\'\n' ' }\n' '\n' '\n' @@ -1904,7 +1904,7 @@ plugin1=${plugin1.path} ' 3. Make the host app depend on the Flutter module:\n' '\n' ' dependencies {\n' - ' releaseImplementation \'com.mycompany:flutter_release:1.0\n' + ' releaseImplementation \'com.mycompany:flutter_release:1.0\'\n' ' }\n' '\n' 'To learn more, visit https://flutter.dev/go/build-aar\n' @@ -1943,7 +1943,7 @@ plugin1=${plugin1.path} ' 3. Make the host app depend on the Flutter module:\n' '\n' ' dependencies {\n' - ' debugImplementation \'com.mycompany:flutter_debug:1.0\n' + ' debugImplementation \'com.mycompany:flutter_debug:1.0\'\n' ' }\n' '\n' 'To learn more, visit https://flutter.dev/go/build-aar\n' @@ -1983,7 +1983,7 @@ plugin1=${plugin1.path} ' 3. Make the host app depend on the Flutter module:\n' '\n' ' dependencies {\n' - ' profileImplementation \'com.mycompany:flutter_profile:1.0\n' + ' profileImplementation \'com.mycompany:flutter_profile:1.0\'\n' ' }\n' '\n' '\n'