Files
kotlin-fork/native/utils/build.gradle.kts
T
Alexander.Likhachev 6f96be0b76 [Build] Get rid of the testApiJUnit5 method
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00

38 lines
830 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 }
testApi(platform(libs.junit.bom))
testImplementation(libs.junit.jupyter.api)
testRuntimeOnly(libs.junit.jupyter.engine)
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
configureKotlinCompileTasksGradleCompatibility()
tasks {
withType<Test>().configureEach {
useJUnitPlatform()
}
}
publish()
standardPublicJars()