https://kotlinlang.org logo
k

kevindmoore

07/24/2021, 6:47 PM
I have a shared library and am importing another “shared” module but my code doesn’t see those files (even though the import isn’t in red). Any ideas or articles on KMM gradle? Gradle is the hardest part of KMM for me
m

Mustafa Ozhan

07/25/2021, 5:28 PM
a <- b(shared) <- c(shared) are you trying to reach files from c in a ?
k

kevindmoore

07/25/2021, 7:33 PM
No. B is trying to to get c.
m

Mustafa Ozhan

07/25/2021, 9:07 PM
Ohh I see, I suggest to check first the platforms that you activated, they should have the both. Secondly, when I was using jvm and android together it jvm was giving errors on editor but it was working when i run build with command line ie.
Copy code
./gradlew :backend:run
apart from that I have similar setup if you want to see my gradle setup this is my repo:https://github.com/CurrencyConverterCalculator/CCC ie: android <- client(shared) <- common(shared)
3 Views