List<GradleResourcesTarget> (@NotNull JpsModule module, boolean includeTest) { List<GradleResourcesTarget> targets = new ArrayList<>(); targets.add(new GradleResourcesTarget(PRODUCTION, module)); if (includeTest) { targets.add(new GradleResourcesTarget(TEST, module)); } return targets; }