Exit Full View

Glok / glok-test / build.gradle.kts

// glok-test build script.
// It seems that Kotlin multiplatform doesn't support testing by traditional means,
// even if the tests are performed using JVM only. (Has Kotlin jumped the shark?)

// So this subproject is not multiplatform and can therefore use JUnit as usual.
// It only contains tests, no production code.
// The downside of this approach, we cannot use internal methods within our tests. Grr. :-(
plugins {
    kotlin("jvm")
}

repositories {
    mavenCentral()
}

val junitVersion: String by project

dependencies {
    implementation(project(":glok-model"))
    implementation(project(":glok-core"))
    testImplementation("junit:junit:${junitVersion}")
}