Kotlintest documentation ells me to use the follow...
# kotlintest
u
Kotlintest documentation ells me to use the following in my kotlin gradle build:
Copy code
val test by tasks.getting(Test::class) {
    useJUnitPlatform { }
}
However, it is apparently marked unstable. Is there a way around this?
p
if you are aware of warning you can suppress it, and simplify a little:
Copy code
tasks.withType<Test> {
    @Suppress("UnstableApiUsage")
    useJUnitPlatform()
}
👍 2
u
Ok thanks. I was just wondering if I was doing anything wrong
👍 1