qlitzler

    qlitzler

    3 years ago
    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 ?
    itnoles

    itnoles

    3 years ago
    jvmTest folder
    qlitzler

    qlitzler

    3 years ago
    I tried adding
    implementation 'junit:junit:4.12'
    In the jvmTest, but that doesn't work
    itnoles

    itnoles

    3 years ago
    it want you to use Kotlin Test Framework