void (@NotNull String linkedProjectPath, @NotNull String gradleHome) { if (state.myGradleHomes == null) { state.myGradleHomes = new HashMap<>(); } state.myGradleHomes.put(linkedProjectPath, gradleHome); if (state.myGradleVersions == null) { state.myGradleVersions = new HashMap<>(); } state.myGradleVersions.put(linkedProjectPath, GradleInstallationManager.getGradleVersion(gradleHome)); }