change quote to avoid escapes (#50368)
This commit is contained in:
committed by
GitHub
parent
fd1062debd
commit
f15c887c63
@@ -244,7 +244,7 @@ Future<void> buildGradleApp({
|
||||
BuildEvent('app-using-android-x').send();
|
||||
} else if (!usesAndroidX) {
|
||||
BuildEvent('app-not-using-android-x').send();
|
||||
globals.printStatus('$warningMark Your app isn\'t using AndroidX.', emphasis: true);
|
||||
globals.printStatus("$warningMark Your app isn't using AndroidX.", emphasis: true);
|
||||
globals.printStatus(
|
||||
'To avoid potential build failures, you can quickly migrate your app '
|
||||
'by following the steps on https://goo.gl/CP92wY.',
|
||||
@@ -271,7 +271,7 @@ Future<void> buildGradleApp({
|
||||
: getAssembleTaskFor(buildInfo);
|
||||
|
||||
final Status status = globals.logger.startProgress(
|
||||
'Running Gradle task \'$assembleTask\'...',
|
||||
"Running Gradle task '$assembleTask'...",
|
||||
timeout: timeoutConfiguration.slowOperation,
|
||||
multilineOutput: true,
|
||||
);
|
||||
@@ -508,7 +508,7 @@ Future<void> buildGradleAar({
|
||||
|
||||
final String aarTask = getAarTaskFor(androidBuildInfo.buildInfo);
|
||||
final Status status = globals.logger.startProgress(
|
||||
'Running Gradle task \'$aarTask\'...',
|
||||
"Running Gradle task '$aarTask'...",
|
||||
timeout: timeoutConfiguration.slowOperation,
|
||||
multilineOutput: true,
|
||||
);
|
||||
@@ -740,7 +740,7 @@ Future<void> buildPluginsAsAar(
|
||||
final String pluginName = pluginParts.first;
|
||||
final File buildGradleFile = pluginDirectory.childDirectory('android').childFile('build.gradle');
|
||||
if (!buildGradleFile.existsSync()) {
|
||||
globals.printTrace('Skipping plugin $pluginName since it doesn\'t have a android/build.gradle file');
|
||||
globals.printTrace("Skipping plugin $pluginName since it doesn't have a android/build.gradle file");
|
||||
continue;
|
||||
}
|
||||
globals.logger.printStatus('Building plugin $pluginName...');
|
||||
@@ -865,15 +865,15 @@ void _exitWithExpectedFileNotFound({
|
||||
).send();
|
||||
throwToolExit(
|
||||
'Gradle build failed to produce an $fileExtension file. '
|
||||
'It\'s likely that this file was generated under ${project.android.buildDirectory.path}, '
|
||||
'but the tool couldn\'t find it.'
|
||||
"It's likely that this file was generated under ${project.android.buildDirectory.path}, "
|
||||
"but the tool couldn't find it."
|
||||
);
|
||||
}
|
||||
|
||||
void _createSymlink(String targetPath, String linkPath) {
|
||||
final File targetFile = globals.fs.file(targetPath);
|
||||
if (!targetFile.existsSync()) {
|
||||
throwToolExit('The file $targetPath wasn\'t found in the local engine out directory.');
|
||||
throwToolExit("The file $targetPath wasn't found in the local engine out directory.");
|
||||
}
|
||||
final File linkFile = globals.fs.file(linkPath);
|
||||
final Link symlink = linkFile.parent.childLink(linkFile.basename);
|
||||
@@ -889,7 +889,7 @@ void _createSymlink(String targetPath, String linkPath) {
|
||||
String _getLocalArtifactVersion(String pomPath) {
|
||||
final File pomFile = globals.fs.file(pomPath);
|
||||
if (!pomFile.existsSync()) {
|
||||
throwToolExit('The file $pomPath wasn\'t found in the local engine out directory.');
|
||||
throwToolExit("The file $pomPath wasn't found in the local engine out directory.");
|
||||
}
|
||||
xml.XmlDocument document;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user