It's definitely a windows incompatibility thing for detekt.
I notice the project is directly executing detekt as a javaexec task. Unfortunately this doesn't work cross- platform without some work as windows requires different parameters than Unix.
I noticed the project is using a really old version of detekt and I assume a gradle plugin wasn't available.
If you'd like, I can upgrade the detekt version and applying the gradle plugin. Detekt a has improved a lot so depending on how many things it flags, this could be very easy or very hard.
Unfortunately the tests don't pass on Windows either. Haven't dug into that yet, but will.
Or I'll dig into WSL, although my initial attempt wasn't very successful. WSL =Windows subsystem for Linux just in case you weren't familiar with it and would just be me locally.