Update tools to use analyzer from vended Dart SDK. (#5900)

* Update tools to use `analyzer` from vended Dart SDK.

* updates `flutter_tools` and `flutter_test` to use the SDK-vended `analyzer` package
* tweaks dependency tracking logic to only record the SDK-vended `analyzer` so as not to crash on spurious conflicts (due to transitive dependencies)

* Review fixes.
This commit is contained in:
Phil Quitslund
2016-09-16 11:06:17 -07:00
committed by GitHub
parent b1a7720315
commit fffde14f64
4 changed files with 31 additions and 11 deletions

View File

@@ -13,10 +13,15 @@ dependencies:
path: ^1.3.0
stack_trace: ^1.4.0
vm_service_client: '^0.2.0'
# See packages/flutter_test/pubspec.yaml for why we're pinning this version
analyzer: 0.28.2-alpha.0
# Pulled in via dependency_override below.
analyzer: any
dev_dependencies:
# See packages/flutter_test/pubspec.yaml for why we're pinning this version
# See packages/flutter_test/pubspec.yaml for why we're pinning this version.
test: 0.12.15+4
# See packages/flutter_test/pubspec.yaml for why we're using an override.
dependency_overrides:
analyzer:
path: ../../bin/cache/dart-sdk/lib/analyzer