ExternalProject (@NotNull IdeaModule gradleModule, @NotNull ProjectResolverContext resolverCtx) { ExternalProject project = resolverCtx.getExtraProject(gradleModule, ExternalProject.class); if (project == null && resolverCtx.isResolveModulePerSourceSet()) { LOG.error("External Project model is missing for module-per-sourceSet import mode. Please, check import log for error messages."); } return project; }