remove build_runner_core import from flutter_tools (#27708)
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:build_runner_core/build_runner_core.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
import 'package:yaml/yaml.dart';
|
||||
|
||||
@@ -147,11 +146,6 @@ class FlutterProject {
|
||||
await injectPlugins(this);
|
||||
}
|
||||
|
||||
/// Return the build_runner [PackageGraph] for this package.
|
||||
Future<PackageGraph> get packageGraph async {
|
||||
return PackageGraph.forPath(directory.path);
|
||||
}
|
||||
|
||||
/// Return the set of builders used by this package.
|
||||
Future<List<String>> get builders async {
|
||||
final YamlMap pubspec = loadYaml(await pubspecFile.readAsString());
|
||||
|
||||
Reference in New Issue
Block a user