Make ProjectIndexingHistoryWrapper compile with 2021.3.1
The number of constructor parameters was changed between 2021.3 and 2021.3.1. We don't need to apply additional compatibility considerations for the Bazel plugin (e.g. we don't need to fix the compatibility version) as this class is never used during runtime in the Bazel plugin.
@@ -30,7 +30,9 @@ public class ProjectIndexingHistoryWrapper {
public static ProjectIndexingHistoryWrapper create(Project project) {
return new ProjectIndexingHistoryWrapper(
- new ProjectIndexingHistoryImpl(project, /* indexingReason= */ ""));
+ // The value for 'wasFullIndexing' is chosen arbitrarily as it doesn't matter for our tests.
+ new ProjectIndexingHistoryImpl(
+ project, /* indexingReason= */ "", /* wasFullIndexing= */ true));
}
/** #api203: inline into IndexingLoggerTest */
