You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is common for projects to have both java and kotlin source files. I've noticed that the kotlin language server does not recognize java source files within the project. Unresolved errors. Is this just an issue with my project?
My brief investigation of dependency resolution is that java dependencies do work via checking gradle dependencies, etc. But I was unable to determine if they work within the same project.
The text was updated successfully, but these errors were encountered:
Importing Java code into Kotlin within the same project should work (e.g. having src/main/java and src/main/kotlin). You might need to reload the language server after adding new Java files though. Are you using the latest version of the language server?
I use the release extension. I also tested with my own build of the language server when addressing another issue.
Let me double check the path. Old android projects put both java and kotlin files into src/ (no main/java or main/kotlin). I'll update and see if it resolves.
It is common for projects to have both java and kotlin source files. I've noticed that the kotlin language server does not recognize java source files within the project. Unresolved errors. Is this just an issue with my project?
My brief investigation of dependency resolution is that java dependencies do work via checking gradle dependencies, etc. But I was unable to determine if they work within the same project.
The text was updated successfully, but these errors were encountered: