Fix duplicate classpath entry in JS Gradle compilation causing warnings
Issue #KT-21943 Fixed
This commit is contained in:
+1
-1
@@ -449,7 +449,7 @@ open class Kotlin2JsCompile() : AbstractKotlinCompile<K2JSCompilerArguments>(),
|
||||
.filter { LibraryUtils.isKotlinJavascriptLibrary(it) }
|
||||
.map { it.canonicalPath }
|
||||
|
||||
args.libraries = (dependencies + listOfNotNull(friendDependency)).let {
|
||||
args.libraries = (dependencies + listOfNotNull(friendDependency)).distinct().let {
|
||||
if (it.isNotEmpty())
|
||||
it.joinToString(File.pathSeparator) else
|
||||
null
|
||||
|
||||
Reference in New Issue
Block a user