Move some classes used by Gradle plugin from K/N shared
This commit is contained in:
@@ -23,7 +23,6 @@ javadocJar()
|
||||
repositories {
|
||||
google()
|
||||
maven("https://plugins.gradle.org/m2/")
|
||||
maven(kotlinNativeRepo)
|
||||
}
|
||||
|
||||
pill {
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user