From e4ddd950f05458f1556d2eaf8b9045bd1e38e4ec Mon Sep 17 00:00:00 2001 From: Hixie Date: Thu, 25 Feb 2016 15:57:07 -0800 Subject: [PATCH] Pin analyzer package so that we're consistent See the comment in the patch for details. --- packages/flutter/pubspec.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index 5338b1bb146..15773e65b30 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -16,6 +16,14 @@ dependencies: # on test. test: 0.12.6+1 + # We have to pin analyzer to 0.27.1 because the flx package depends + # on pointycastle which depends on reflectable which depends on + # analyzer 0.27.1 and if we don't pin it here, then different + # packages end up bringing in different analyzer versions which + # results in 'flutter analyze' (which uses an entirely different + # analyzer, by the way!) complaining about the inconsistency. + analyzer: 0.27.1 + sky_engine: path: ../../bin/cache/pkg/sky_engine sky_services: