void (@NotNull CompileScope scope, @NotNull List<String> moduleNames) { List<TargetTypeBuildScope> resourceScopes = new ArrayList<>(); for (UpdateResourcesBuildContributor provider : UpdateResourcesBuildContributor.EP_NAME.getExtensionList()) { for (BuildTargetType<?> type : provider.getResourceTargetTypes()) { resourceScopes.add(CmdlineProtoUtil.createTargetsScope(type.getTypeId(), moduleNames, false)); } } setBaseScopeForExternalBuild(scope, resourceScopes); }