Thread
#multiplatform
    r

    robstoll

    3 years ago
    I consider to switch to the new multiplatform gradle plugin. Is it possible to specify compileOnly and runtimeOnly dependencies? So far I have only seen api and implementation. But maybe I don't understand ap/implementation correctly
    josephivie

    josephivie

    3 years ago
    Yes, and it works the same way as api/implementation IIRC
    Clarification: as in you can put
    compileOnly("my:dependency:0.0.1")
    in your dependencies in your source set
    a

    Alexey Belkov [JB]

    3 years ago
    r

    robstoll

    3 years ago
    Thx for the clarification -- I was exactly on this page but didn't spot it. I must have been blind 😀