From 739eb6233a10f310d292a2c56fc067c7f1d313b6 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Wed, 10 May 2017 11:24:46 +0700 Subject: [PATCH] Revert "gradle-plugin: Rename targets" This reverts commit 7a1a5001a311befffec7cd6340d2215456da5083. --- tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt b/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt index c7d48abdcf3..1d437e1a650 100644 --- a/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt +++ b/tools/gradle-plugin/src/main/kotlin/KonanPlugin.kt @@ -136,7 +136,7 @@ class KonanPlugin: Plugin { private fun String.isSupported(): Boolean { val os = CompilerDownloadTask.simpleOsName() return when (os) { - "macos" -> this == "osx" || this == "ios" + "macos" -> this == "macbook" || this == "iphone" "linux" -> this == "linux" || this == "raspberrypi" else -> false }