gradle-plugin: Rename targets

macbook -> osx
iphone -> ios
This commit is contained in:
Ilya Matveev
2017-05-05 15:03:33 +07:00
committed by ilmat192
parent 00b19b8367
commit 7a1a5001a3
@@ -136,7 +136,7 @@ class KonanPlugin: Plugin<ProjectInternal> {
private fun String.isSupported(): Boolean { private fun String.isSupported(): Boolean {
val os = CompilerDownloadTask.simpleOsName() val os = CompilerDownloadTask.simpleOsName()
return when (os) { return when (os) {
"macos" -> this == "macbook" || this == "iphone" "macos" -> this == "osx" || this == "ios"
"linux" -> this == "linux" || this == "raspberrypi" "linux" -> this == "linux" || this == "raspberrypi"
else -> false else -> false
} }