For some reason I can't use Java classes from my K...
# announcements
t
For some reason I can't use Java classes from my Kotlin files in IntelliJ (with Gradle). Using Kotlin from Java is fine but when I try to use a Java class it reports unresolved reference. The import quickfix of course appears but doesn't do anything. Any ideas what the problem could be? (The classes are all in the test module in case that matters)
g
What about build from command line? Does it work?
t
You mean with gradle or kotlinc? I haven't tried but I'm pretty sure that it would work with kotlinc. It's probably a problem with intellij/gradle
g
I mean Gradle
If such build works from command line Gradle, than it's Idea bug, maybe just try to reimport project