void (@NotNull JpsProject project, @NotNull Element componentTag) { var optionsValues = new EnumMap<Options, Boolean>(Options.class); var optionElements = componentTag.getChildren(OPTION_TAG); for (var element : optionElements) { try { var name = Options.valueOf(element.getAttributeValue(NAME_ATTRIBUTE)); var value = Boolean.parseBoolean(element.getAttributeValue(VALUE_ATTRIBUTE)); optionsValues.put(name, value); } catch (Exception ignored) { } } var resolverConfigurationService = JpsDependencyResolverConfigurationService.getInstance(); var config = resolverConfigurationService.getOrCreateDependencyResolverConfiguration(project); if (optionsValues.containsKey(Options.VERIFY_SHA256_CHECKSUMS)) { config.setSha256ChecksumVerificationEnabled(optionsValues.get(Options.VERIFY_SHA256_CHECKSUMS)); } if (optionsValues.containsKey(Options.USE_BIND_REPOSITORY)) { config.setBindRepositoryEnabled(optionsValues.get(Options.USE_BIND_REPOSITORY)); } }