[KLIB] Removed support of pattern '<library_name>@<version>' (KT-42500 Fixed)
This commit is contained in:
@@ -31,9 +31,5 @@ fun File.unpackZippedKonanLibraryTo(newDir: File) {
|
||||
|
||||
val List<String>.toUnresolvedLibraries
|
||||
get() = this.map {
|
||||
|
||||
val version = it.substringAfterLast('@', "")
|
||||
.let { if (it.isEmpty()) null else it }
|
||||
val name = it.substringBeforeLast('@')
|
||||
UnresolvedLibrary(name, version)
|
||||
UnresolvedLibrary(it, null)
|
||||
}
|
||||
Reference in New Issue
Block a user