[Gradle] Unresolved reference: javaClass


#1

I’m having trouble compiling Kotlin projects with Gradle. Unresolved reference: javaClass.

gradle-java-class.zip (64.6 KB)


#2

You used invalid syntax. Replace javaClass<ArrayList<String>> with ArrayList::class.java.