List<GroovyResourceRootDescriptor> (@NotNull JpsModel model, @NotNull ModuleExcludeIndex index, @NotNull IgnoredFileIndex ignoredFileIndex, @NotNull BuildDataPaths dataPaths) { ResourcesTarget target = new ResourcesTarget(myModule, ResourcesTargetType.getInstance(isTests())); List<ResourceRootDescriptor> resources = target.computeRootDescriptors(model, index, ignoredFileIndex, dataPaths); return ContainerUtil.map(resources, descriptor -> new GroovyResourceRootDescriptor(descriptor, this)); }