dokka icon indicating copy to clipboard operation
dokka copied to clipboard

[K2] KMP: Unresolved declarations from another module in Android + JVM project

Open atyrin opened this issue 7 months ago • 2 comments

  1. Create a project with 2 KMP module (android + jvm + any other target)
  2. In Module1 declare a type e.g.
object Firebase
  1. In Module2 declare two functions: one in the Android source set, another in the JVM source set that uses Firebase object. Two of them because I assume that the selected target may change

With K1 the extension page will have all platforms image

K2: image

dokka-repros.zip

atyrin avatar Jul 19 '24 16:07 atyrin