Closed dalewking closed 2 months ago
Could you give me a reproducer? It works in my test project.
To be more specific it doesn't work for Kotlin Multiplatform projects as in:
kotlin {
sourceSets {
commonTest.dependencies {
implementation(mokkery("coroutines"))
}
)
}
The reason is that the short hand syntax works on DependencyHandler, but those dependency blocks are actually of type KotlinDependencyHandler
and do not extend DependencyHandler
I understand. I will try to add an overload in the next release.
The docs say you can do this:
but i get: