private @Nullable GradleProjectSettings getProjectSettings() {
    var project = resolverCtx.getExternalSystemTaskId().findProject();
    if (project != null) {
      var settings = GradleSettings.getInstance(project);
      var linkedProjectPath = resolverCtx.getProjectPath();
      return settings.getLinkedProjectSettings(linkedProjectPath);
    }
    return null;
  }
private @Nullable GradleProjectSettings getProjectSettings()