JS: rename "-library-files" argument to "-libraries" and change separator
Use the system separator (':' or ';') instead of commas
#KT-16083 Fixed
This commit is contained in:
+1
-4
@@ -325,10 +325,7 @@ open class Kotlin2JsCompile() : AbstractKotlinCompile<K2JSCompilerArguments>(),
|
||||
.filter { LibraryUtils.isKotlinJavascriptLibrary(it) }
|
||||
.map { it.canonicalPath }
|
||||
|
||||
args.libraryFiles = when (friendDependency) {
|
||||
null -> dependencies.toTypedArray()
|
||||
else -> (dependencies + friendDependency).toTypedArray()
|
||||
}
|
||||
args.libraries = (dependencies + friendDependency.orEmpty()).joinToString(File.pathSeparator)
|
||||
|
||||
kotlinOptionsImpl.updateArguments(args)
|
||||
return args
|
||||
|
||||
Reference in New Issue
Block a user