private @Nullable DataNode<ProjectData> resolveProjectInfo(
    @NotNull DefaultProjectResolverContext resolverContext
  ) {
    final long activityId = resolverContext.getExternalSystemTaskId().getId();
    GradleExecutionSettings settings = resolverContext.getSettings();
    ExternalSystemSyncActionsCollector.logSyncStarted(resolverContext.getExternalSystemTaskId().findProject(), activityId,
                                                      settings != null && settings.isParallelModelFetch());

    Span gradleExecutionSpan = ExternalSystemTelemetryUtil.getTracer(GradleConstants.SYSTEM_ID)
      .spanBuilder("GradleExecution")
      .startSpan();
    try (Scope ignore = gradleExecutionSpan.makeCurrent()) {
      if (resolverContext.getSettings() != null) {
        GradleWrapperHelper.ensureInstalledWrapper(
          resolverContext.getExternalSystemTaskId(),
          resolverContext.getProjectPath(),
          resolverContext.getSettings(),
          resolverContext.getListener(),
          resolverContext.getCancellationToken()
        );
      }

      final GradleProjectResolverExtension projectResolverChain = createProjectResolverChain(resolverContext);
      var projectDataFunction = getProjectDataFunction(resolverContext, projectResolverChain, false);
      final DataNode<ProjectData> projectDataNode = myHelper.execute(
        resolverContext.getProjectPath(),
        resolverContext.getSettings(),
        resolverContext.getExternalSystemTaskId(),
        resolverContext.getListener(),
        resolverContext.getCancellationToken(),
        projectDataFunction
      );

      // auto-discover buildSrc projects of the main and included builds
      String gradleVersion = resolverContext.getProjectGradleVersion();
      if (gradleVersion != null && GradleVersionUtil.isGradleOlderThan(gradleVersion, "8.0")) {
        String gradleHome = ObjectUtils.doIfNotNull(resolverContext.getUserData(GRADLE_HOME_DIR), it -> it.getPath());
        new GradleBuildSrcProjectsResolver(this, resolverContext, gradleHome, projectResolverChain)
          .discoverAndAppendTo(projectDataNode);
      }

      return projectDataNode;
    }
    finally {
      gradleExecutionSpan.end();
    }
  }
private @Nullable DataNode<ProjectData> resolveProjectInfo(
    @NotNull DefaultProjectResolverContext resolverContext
  )