diff --git a/lib/src/model/package_builder.dart b/lib/src/model/package_builder.dart index 47dcf4f5f2..ff6baf7af3 100644 --- a/lib/src/model/package_builder.dart +++ b/lib/src/model/package_builder.dart @@ -65,6 +65,7 @@ class PubPackageBuilder implements PackageBuilder { analysisOptions ..warning = false ..lint = false, + withFineDependencies: true, ); return PubPackageBuilder._( config, diff --git a/pubspec.yaml b/pubspec.yaml index 20b8d3272b..9eded610c7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ^3.6.0 dependencies: - analyzer: ^8.4.0 + analyzer: ^9.0.0 args: ^2.4.1 collection: ^1.17.0 crypto: ^3.0.3 diff --git a/test/mustachio/builder_test_base.dart b/test/mustachio/builder_test_base.dart index fd94c5a8f1..ce3b1f712d 100644 --- a/test/mustachio/builder_test_base.dart +++ b/test/mustachio/builder_test_base.dart @@ -86,6 +86,7 @@ Future resolveGeneratedLibrary2(String libraryPath) async { // handling it ourselves? resourceProvider: PhysicalResourceProvider.INSTANCE, sdkPath: sdkPath, + withFineDependencies: true, ); var analysisContext = contextCollection.contextFor(d.sandbox); final libraryResult = diff --git a/tool/mustachio/builder.dart b/tool/mustachio/builder.dart index 7427ddc917..e189ef9255 100644 --- a/tool/mustachio/builder.dart +++ b/tool/mustachio/builder.dart @@ -33,6 +33,7 @@ Future build( // handling it ourselves? resourceProvider: PhysicalResourceProvider.INSTANCE, sdkPath: sdkPath, + withFineDependencies: true, ); var analysisContext = contextCollection.contextFor(root); final libraryResult = await analysisContext.currentSession