use of org.jetbrains.kotlin.idea.framework.JSLibraryStdDescription in project kotlin by JetBrains.
the class KotlinStdJSProjectDescriptorImpl method configureModule.
@Override
public void configureModule(@NotNull Module module, @NotNull ModifiableRootModel model) {
NewLibraryConfiguration configuration = new JSLibraryStdDescription(module.getProject()).createNewLibraryForTests();
assert configuration != null : "Configuration should exist";
NewLibraryEditor editor = new NewLibraryEditor(configuration.getLibraryType(), configuration.getProperties());
configuration.addRoots(editor);
ConfigLibraryUtil.addLibrary(editor, model);
}
Aggregations