Hello, I am building a multiplatform library using...
# multiplatform
q
Hello, I am building a multiplatform library using Kotlin. The library should be usable by Kotlin user on the JVM (obviously), but also by Java developers. Because of this requirement, I need to setup a java unit test suite to be able to test how the library syntax will look like from Java. I am having troubling setting up a simple java test folder with a Junit dependency. My gradle file looks like this at the moment. Can someone point me towards the right direction ?
i
jvmTest folder
q
I tried adding
implementation 'junit:junit:4.12'
In the jvmTest, but that doesn't work
i
it want you to use Kotlin Test Framework