Project (@NotNull BasicGradleProject gradleProject) { String name = gradleProject.getName(); ProjectIdentifier projectIdentifier = gradleProject.getProjectIdentifier(); File rootDir = projectIdentifier.getBuildIdentifier().getRootDir(); String projectPath = projectIdentifier.getProjectPath(); return new DefaultProject(name, rootDir, projectPath); }