Use kotlin-native-shared in the Gradle plugin

The kotlin-native-shared artifact includes API allowing
us to work with K/N platforms, hosts, distribution etc.
This patch replaces a dependency on kotlin-native-utils
containing copies of such classes with a dependency on
published kotlin-native-shared in the Gradle plugin and
bundles kotlin-native-shared into the Gradle plugin jar.
This commit is contained in:
Ilya Matveev
2019-04-18 11:31:33 +07:00
parent f118b007f0
commit c9ed648303
12 changed files with 42 additions and 48 deletions
@@ -7,7 +7,7 @@ plugins {
dependencies {
compile(gradleApi())
compile(project(":kotlin-gradle-plugin-api"))
compile(project(":kotlin-native:kotlin-native-utils"))
compile(commonDep("org.jetbrains.kotlin:kotlin-native-shared")) { isTransitive = false }
}
val generateMppTargetContainerWithPresets by generator(