use of org.jetbrains.kotlin.idea.configuration.RuntimeLibraryFiles in project kotlin by JetBrains.
the class JSLibraryStdDescription method createNewLibraryForTests.
@TestOnly
public NewLibraryConfiguration createNewLibraryForTests() {
KotlinJsModuleConfigurator configurator = (KotlinJsModuleConfigurator) getConfiguratorByName(NAME);
assert configurator != null : "Cannot find configurator with name " + NAME;
RuntimeLibraryFiles files = configurator.getExistingJarFiles();
return createConfiguration(Collections.singletonList(files.getRuntimeJar()), files.getRuntimeSourcesJar());
}
Aggregations