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

@@ -8,9 +8,13 @@ dependencies:
test: 0.12.15+4
# We don't actually depend on 'analyzer', but 'test' and 'flutter_tools' do.
# We pin the version of analyzer we depend on to avoid version skew across our
# packages.
analyzer: 0.28.2-alpha.0
# Like 'flutter_tools', we use the version of the analyzer in the vended Dart
# SDK as defined in the `dependency_overrides` below.
analyzer: any
flutter:
path: ../flutter
dependency_overrides:
analyzer:
path: ../../bin/cache/dart-sdk/lib/analyzer