use of org.elixir_lang.jps.builder.SourceRootDescriptor in project intellij-elixir by KronicDeth.
the class Target method computeRootDescriptors.
@NotNull
@Override
public List<SourceRootDescriptor> computeRootDescriptors(JpsModel model, ModuleExcludeIndex index, IgnoredFileIndex ignoredFileIndex, BuildDataPaths dataPaths) {
List<SourceRootDescriptor> result = new ArrayList<SourceRootDescriptor>();
JavaSourceRootType type = isTests() ? JavaSourceRootType.TEST_SOURCE : JavaSourceRootType.SOURCE;
for (JpsTypedModuleSourceRoot<JavaSourceRootProperties> root : myModule.getSourceRoots(type)) {
result.add(new SourceRootDescriptor(root.getFile(), this));
}
return result;
}
Aggregations