KT-31645 Fix yarn downloading on Windows

This commit is contained in:
ilgonmic
2019-06-04 14:16:07 +03:00
committed by Sergey Rostov
parent 7d38977f5e
commit 16200181cc
@@ -50,7 +50,7 @@ open class YarnSetupTask : DefaultTask() {
}
private fun extract(archive: File, destination: File) {
val dirInTar = archive.name.removeSuffix(".tar.gz") + File.separator
val dirInTar = archive.name.removeSuffix(".tar.gz")
project.copy {
it.from(project.tarTree(archive))
it.into(destination)