File (@Nullable Project project, @NotNull String linkedProjectPath) { if (project == null) return null; BuildLayoutParameters buildLayoutParameters = guessBuildLayoutParameters(project, linkedProjectPath); String gradleHome = GradleTargetUtil.maybeGetLocalValue(buildLayoutParameters.getGradleHome()); return gradleHome != null ? new File(gradleHome) : null; }