Spring Boot + Gradle : 如何构建 rpm

Spring Boot + Gradle : how to build rpm

How to Build sping boot Jar with RPM with Gradle. 

jar 在默认情况下 fine.while 打包 rpm 而不是 运行

jar ==> 输出=ok

jar ==> RPM ==output not working.not 运行 jar inside.

哪位大侠帮帮我

我会推荐这个 gradle 插件来构建 RPM https://github.com/nebula-plugins/gradle-ospackage-plugin