Thread
#arrow-meta
    e

    evant

    2 years ago
    Trying out making a custom plugin, it doesn't seem to apply to test sources. Does something special need to happen for that?
    raulraja

    raulraja

    2 years ago
    If you are running your tests from IDEA directly it may not be adding the plugin. Does it work if you run the test Gradle task?
    Otherwise maybe @Rachel knows more about this
    Rachel

    Rachel

    2 years ago
    Hi! I didn't try it but now is a great moment to try it 😉 I'll let you know in a few minutes
    Nothing special for test sources, @evant
    I created a test in Hello Word example and it works
    Please, can you give us more details about your example?
    e

    evant

    2 years ago
    Hm, will try to figure out what's different. Was following the hello world example for project setup
    Rachel

    Rachel

    2 years ago
    Ok! Please, let us know if we can help you 👍
    e

    evant

    2 years ago
    hm, just cloned https://github.com/arrow-kt/arrow-meta-examples and moved HelloWorld.kt to test and it's not working for me, both IDE and cmdline
    Rachel

    Rachel

    2 years ago
    Oh sorry @evant, I didn't understand your question in that way...
    Please, in that case, replace
    compileKotlin
    by
    compileTestKotlin
    In
    build.gradle
    file
    e

    evant

    2 years ago
    ah, got it. Thanks!
    Rachel

    Rachel

    2 years ago
    Thanks to you for letting us know that it's working for you 🙌