I'm getting a weird error when trying to build a K...
# announcements
f
I'm getting a weird error when trying to build a Kotlin project using gradle, where would I ask for support on this issue?
h
Here, or maybe #C19FD9681 if using the kotlin syntax
f
Okay yeah I'm using the groovy syntax. The error I'm getting has to do with the Kotlin plugin erroring out while compiling, full stacktrace is here https://pastebin.com/raw/trr9UkYd. I'm happy to provide more info if necessary.
i
Do you have any other errors recorded in the log before that? Usually such NoClassDefFoundError means that there was some initialization error in the class static constructor.
f
I also occasionally get this error as well: https://scans.gradle.com/s/x3p6puq2pnslk/console-log/raw
Ah I see now, that is called from the static initalizer of FileUtil
Right, I've now solved the issue. Was a dependency issue between plugins. Two different plugins relied on two different versions of trove4j, so a simple exclude on the other dependency fixed everything. Thanks for pointing me in the right direction!