Not sure what’s wrong but I’m getting tons of unre...
# kontributors
e
Not sure what’s wrong but I’m getting tons of unresolved references in newly forked kotlin project. Plus build scripts are failing to resolve dependencies. Forked and cloned kotlin project in IJ 2019.2.3. I’ve set up all the JDKs to point to java 8 and 9 (like recommended, not working on stdlib) and building
./gradlew dist
from command line works. I also did the “New module from existing sources” bit on first run.
i
I cannot think of any obvious reason for such problems, but let’s check the usual stuff. Please, go to the project settings, and check whether there are any problems reported there, and whether all modules (as per settings.gradle in the project root dir) are imported into idea project model. If something is not right there - reimport all gradle projects (search for this action to run it).
e
I think clearing gradle cache and re-importing all gradle projects again worked. Code is fine now although build scripts still have dependencies resolution error. Thanks Ilya