Add version to fatjar, stop plugin from crashing if version is missing

build.gradle Fixes the issues I was having after the build was updated.
The other commit just allows to detect this issue if it happens again.