List<GradleResourcesTarget> (@NotNull JpsModel model) { final List<GradleResourcesTarget> targets = new ArrayList<>(); for (JpsModule module : model.getProject().getModules()) { if (JpsGradleExtensionService.getInstance().getExtension(module) != null) { targets.add(new GradleResourcesTarget(this, module)); } } return targets; }