[K/N] Merge :kotlin-native-shared with :native:kotlin-native-utils

* Code was moved to utils, but sources are included to the shared
until bootstrap advance.
* Fixed dependencies and set API & LV to 1.4 for the modules used with
Gradle.

Merge-request: KT-MR-9122
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
This commit is contained in:
Pavel Punegov
2023-03-10 12:57:35 +00:00
committed by Space Team
parent 633d840c88
commit aed6272107
43 changed files with 38 additions and 25 deletions
+6 -2
View File
@@ -8,11 +8,13 @@ description = "Kotlin/Native utils"
dependencies {
compileOnly(kotlinStdlib())
api(project(":kotlin-util-io"))
api(project(":kotlin-util-klib"))
api(platform(project(":kotlin-gradle-plugins-bom")))
testImplementation(commonDependency("junit:junit"))
testImplementation(kotlinStdlib())
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testApiJUnit5()
}
sourceSets {
@@ -28,10 +30,12 @@ tasks {
freeCompilerArgs += "-Xsuppress-version-warnings"
}
}
withType<Test>().configureEach {
useJUnitPlatform()
}
}
// TODO: this single known external consumer of this artifact is Kotlin/Native backend,
// so publishing could be stopped after migration to monorepo
publish()
standardPublicJars()