Hi! Are there any plans to support `compileOnly` f...
# kotlin-native
b
Hi! Are there any plans to support
compileOnly
for native targets? That would be a killer feature, especially given how powerful the combination of extension functions and compile-only dependencies works on the JVM: add dependency 'A' to a project that has 'B' as compile-only dependency and define some extensions on types of 'B'. You'll never notice, if you only use 'A' in another project. Once you add 'B' too, you magically get the extensions with IDE autocomplete. I'm also taking dodgy workaround suggestions, because we have a need for this behavior in one of our projects. Without
compileOnly
the number of modules would explode, due to needing lots of bridging modules