there's now a build which fixes the problem with i...
# intellij
y
k
I'm using it with Intellij
2017.2.2
and kotlin
1.1.4
, but I still get
Unresolved reference
on some packages. Some seem to be working, but not all. Strangely, even
it
in lambdas are erroring with
Unresolved reference: it
y
did you reimport the project from Gradle? you need to do that
k
As in
File > Open
?
y
no, as in "refresh" in gradle toolwindow
k
Oh, yes. I have
y
do any libraries in settings | project structure have the JS icon?
k
No, They all have the green/gray/blue bars and kotlin-stdlib has the kotlin K logo
y
then it's a different issue. did you try File | Invalidate Caches?
k
It's seems that external dependencies are resolving correctly, but a dependency on a module I have is not resolving. I have invalidated caches, but I can try again
Invalidating did nothing. My example with
testng
is working now with the plugin update, so the update did fix that. But my real project still fails with a specific module
y
can you DM me with some details? (screenshots of unresolved references and your project config)
k
Yes. I'm currently trying to reproduce the issue using my test-project
I found the culprit. If I apply the plugin 'java-library' to the module, it fails
y
yes, this is a different known issue, we'll likely fix it in 1.1.4-3 next week