https://www.coderli.com/package-executable-jar-with-gradle/
Gradle打包可执行Jar - OneCoder