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)