unnecessary escapes fixes (#50178)
* unnecessary escapes fixes * replace some strings with raw strings * update regexp * address review comments
This commit is contained in:
committed by
GitHub
parent
b8199abd15
commit
5c28e3eeea
@@ -642,7 +642,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('''
|
||||
|
||||
@@ -128,7 +128,7 @@ distributionUrl=https\\://services.gradle.org/distributions/gradle-$gradleVersio
|
||||
}
|
||||
const String _defaultGradleVersion = '5.6.2';
|
||||
|
||||
final RegExp _androidPluginRegExp = RegExp('com\.android\.tools\.build\:gradle\:(\\d+\.\\d+\.\\d+\)');
|
||||
final RegExp _androidPluginRegExp = RegExp(r'com\.android\.tools\.build:gradle:\(\d+\.\d+\.\d+\)');
|
||||
|
||||
/// Returns the Gradle version that the current Android plugin depends on when found,
|
||||
/// otherwise it returns a default version.
|
||||
|
||||
Reference in New Issue
Block a user