, then the project builds anyway even if the IDE can’t resolve the classes. If I add those two lines, the build fails too. This is happening on Kotlin 1.4.10 and 1.4.20.Does anyone know what’s the problem or where should I open an issue? Thanks lots!
1 year ago
Hey folks, I have a feeling this must be a known issue.Here’s what happens: I have a KMP project and as soon as I have built something, IDEA (or Android Studio) starts using built artifacts (jar, class files) for code highlighting and navigation in the editor. For example, it starts falsely reporting some imports as unreachable because of classes being internal (although actual build works flawlessly, meaning internal is just fine). When you cmd-click the import, it shows a decompiled version of it instead of the source code.It definitely happens with types from
when imported in files residing in
solves the problem (editor navigation starts using source code, red highlighting of imports goes away) until next build.IDEA CE 2020.3 beta or 2020.2.4, Kotlin plugin 1.4.20.
Hey guys, any advice on mocking in commonTest? I tried mockk without success
1 year ago
Hey, Can anyone please guide or provide any link here to generate a native Universal framework with minimum size? I am generating a Universal framework and it's working perfectly but it's increasing IPA size drastically. Here is my build.gradle.kts file.