fix jar-task new gradle version writes class files for kotlin and java to different folders, so manually collecting 'sourceSets.main.output.classesDir' no longer works (it only has the java class files). Fixed by adding 'with jar' to the dist task. (commit: 5b36417)