Fine. Use 'withFineDependencies: true' in analysis_server_plugin/ and analyzer_plugin/.

Change-Id: If27c37c311afd5647fc1e4e741816ced5c9b576f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/462221
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
Konstantin Shcheglov
2025-11-14 15:22:43 -08:00
committed by Commit Queue
parent 484a106bb4
commit ba1e7e8c45
4 changed files with 4 additions and 0 deletions
@@ -699,6 +699,7 @@ class PluginServer {
({required AnalysisOptionsImpl analysisOptions}) => analysisOptions
..warning = false
..lint = false,
withFineDependencies: true,
);
_contextCollection = contextCollection;
await _analyzeAllFilesInContextCollection(
@@ -165,6 +165,7 @@ class SingleUnitTest with ResourceProviderMixin {
includedPaths: _collectionIncludedPaths.map(convertPath).toList(),
resourceProvider: resourceProvider,
sdkPath: _sdkRoot.path,
withFineDependencies: true,
);
_addAnalyzedFilesToDrivers();
@@ -254,6 +254,7 @@ abstract class ServerPlugin {
byteStore: _byteStore,
sdkPath: _sdkPath,
fileContentCache: FileContentCache(resourceProvider),
withFineDependencies: true,
);
_contextCollection = contextCollection;
await afterNewContextCollection(contextCollection: contextCollection);
@@ -172,6 +172,7 @@ class AbstractContextTest with MockPackagesMixin, ResourceProviderMixin {
includedPaths: collectionIncludedPaths.map(convertPath).toList(),
resourceProvider: resourceProvider,
sdkPath: sdkRoot.path,
withFineDependencies: true,
);
}
}