I'm not certain if this is a Ktlint issue, a Kotlin scripting issue, or a Gradle Kotlin DSL issue. But on our Jenkins slaves I'm getting this very strange error:
I'm wondering if anyone has any insights as to what might be causing this. Perhaps something to do with the Kotlin compiler daemon???
https://github.com/shyiko/ktlint/issues/287