String (@NotNull ProjectResolverContext resolverCtx, @NotNull IdeaModule gradleModule, @NotNull String rootProjectPath) { ExternalProject externalProject = resolverCtx.getExtraProject(gradleModule, ExternalProject.class); if (externalProject != null) { File projectDir = externalProject.getProjectDir(); return ExternalSystemApiUtil.toCanonicalPath(projectDir.getPath()); } return GradleUtil.getConfigPath(gradleModule.getGradleProject(), rootProjectPath); }