dokka
dokka copied to clipboard
KMP: References is not linked if they are in shared code and there is an intermediate level between them
Create a KMP library with KGP 1.9.20. Declare 2 ios targets. That is required for generating a few layers of shared native source sets
// commonMain
class Dokka
// iosMain
class IosDokka
// iosX64Main
/**
* Ths fun consume [Dokka] and [IosDokka]
*/
fun consumeDokka(d: Dokka, iosD: IosDokka) {}
References to commonMain
will not have a links
Installation
- Dokka version: 1.9.20
Related issue for K2: #3377. Probably, it is even a duplicate.