Is there a way to tell kotlin compiler (via gradle) to fail when some package isn't matching file location?

19 Views Asked by At

I've seen multiple cases in which my lazy coworkers copy paste a file without changing the package.

Kotlin is cool about it, and the only one issuing a warning is the IDE.

Is there a way so that the compiler fails on THAT warning? or maybe... via ktlint?

0

There are 0 best solutions below