GradleProjectConfiguration (@NotNull File dataStorageRoot) { final File configFile = new File(dataStorageRoot, GradleProjectConfiguration.CONFIGURATION_FILE_RELATIVE_PATH); GradleProjectConfiguration config; synchronized (myLoadedConfigs) { config = myLoadedConfigs.get(configFile); if (config == null) { config = new GradleProjectConfiguration(); if (configFile.exists()) { try { XmlSerializer.deserializeInto(config, JDOMUtil.load(configFile)); } catch (Exception e) { LOG.info(e); } } myLoadedConfigs.put(configFile, config); } } return config; }