Files
kotlin-fork/native/utils/build.gradle.kts
T
Alexander.Likhachev 357d12fc8e [Build] Move JUnit dependencies into the version catalog
The `kotlin-test` dependencies are left untouched as changing them affects publications, thus these versions are independent from the used inside our build
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00

36 lines
718 B
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
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(libs.junit4)
testImplementation(kotlinStdlib())
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testApiJUnit5()
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
configureKotlinCompileTasksGradleCompatibility()
tasks {
withType<Test>().configureEach {
useJUnitPlatform()
}
}
publish()
standardPublicJars()