@Nullable
  public static File getGradleOutputDir(@NotNull ExternalProject externalProject,
                                        @NotNull String sourceSetName,
                                        @NotNull ExternalSystemSourceType sourceType) {
    ExternalSourceSet sourceSet = externalProject.getSourceSets().get(sourceSetName);
    if (sourceSet == null) return null;
    return getGradleOutputDir(sourceSet.getSources().get(sourceType));
  }
@Nullable
  public static File getGradleOutputDir(@NotNull ExternalProject externalProject,
                                        @NotNull String sourceSetName,
                                        @NotNull ExternalSystemSourceType sourceType)