Reverts: flutter/flutter#154061
Initiated by: QuncCccccc
Reason for reverting: might be the reason that cause Framework tree to red
Original PR Author: bartekpacia
Reviewed By: {gmackall, reidbaker}
This change reverts the following previous change:
This PR resolves #151166
This commit is contained in:
@@ -29,17 +29,14 @@ Future<void> main() async {
|
||||
await runProjectTest((FlutterProject flutterProject) async {
|
||||
await inDirectory(path.join(flutterProject.rootPath, 'android'), () async {
|
||||
section('Insert gradle testing script');
|
||||
final File buildFile = getAndroidBuildFile(path.join(flutterProject.rootPath, 'android'));
|
||||
buildFile.writeAsStringSync(
|
||||
final File build = File(path.join(
|
||||
flutterProject.rootPath, 'android', 'app', 'build.gradle',
|
||||
));
|
||||
build.writeAsStringSync(
|
||||
'''
|
||||
tasks.register("printEngineMavenUrl") {
|
||||
task printEngineMavenUrl() {
|
||||
doLast {
|
||||
project.repositories.forEach { repo ->
|
||||
if (repo.name == "maven") {
|
||||
repo as MavenArtifactRepository
|
||||
logger.quiet(repo.url.toString())
|
||||
}
|
||||
}
|
||||
println project.repositories.find { it.name == 'maven' }.url
|
||||
}
|
||||
}
|
||||
''',
|
||||
|
||||
Reference in New Issue
Block a user