https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

robstoll

02/28/2019, 9:26 PM
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
j

josephivie

02/28/2019, 9:49 PM
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
r

robstoll

03/01/2019, 8:50 AM
Thx for the clarification -- I was exactly on this page but didn't spot it. I must have been blind 😀
3 Views