Tobi
02/27/2018, 9:59 AMios
module. My common
modules has some tests that use mockk
as mocking library. When I run test
, the task :ios:compileKonanIos-testsIphone
fails since it cannot resolve the references to mockk
.
The code can be found here: https://github.com/novoda/spikes/blob/enable_tests_kotlin_native/game-of-life-multiplatform/ios/build.gradle
Anything I am missing?ilya.matveev
02/27/2018, 1:57 PMmockk
just doesn't support Kotlin/Native. Also note that at current stage you need to write some tricky gradle code to set up a maven/ivy dependency for a KN artefact. So we are going to improve this part of the plugin and provide an easy way to do it.