Move some classes used by Gradle plugin from K/N shared

This commit is contained in:
Ilya Matveev
2019-05-27 14:30:25 +03:00
parent b002d572fb
commit 5e66399284
8 changed files with 362 additions and 148 deletions
@@ -23,7 +23,6 @@ javadocJar()
repositories {
google()
maven("https://plugins.gradle.org/m2/")
maven(kotlinNativeRepo)
}
pill {
@@ -95,7 +95,7 @@ class KotlinNativeTargetPreset(
if (!konanTarget.enabledOnCurrentHost) {
with(HostManager()) {
val supportedHosts = enabledTargetsByHost.filterValues { konanTarget in it }.keys
val supportedHosts = enabledByHost.filterValues { konanTarget in it }.keys
val supportedHostsString =
if (supportedHosts.size == 1)
"a ${supportedHosts.single()} host" else