https://kotlinlang.org logo
Title
t

tschuchort

12/22/2018, 6:23 PM
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

gildor

12/23/2018, 2:26 AM
What about build from command line? Does it work?
t

tschuchort

12/23/2018, 7:00 PM
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

gildor

12/23/2018, 11:59 PM
I mean Gradle
If such build works from command line Gradle, than it's Idea bug, maybe just try to reimport project