[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:
committed by
Space Team
parent
633d840c88
commit
aed6272107
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user