java -Dloader.path='lib' -jar 启动

pull/64/head
陈云志 5 years ago
parent 14125debaa
commit 467279cc19

@ -17,7 +17,7 @@ bootJar {
manifest {
attributes "Main-Class": "org.springframework.boot.loader.PropertiesLauncher"
attributes "Manifest-Release-Version": version + "-" + getGitVersion()
// attributes "Class-Path": configurations.runtime.files.collect { "../lib/$it.name" }.join(" ")
// attributes "Class-Path": configurations.runtime.files.collect { "../lib/$it.name" }.join(" ")
attributes "releaseVersion": version + "-" + getGitVersion()
attributes "vendor": "GRIDNT山东网聪信息科技有限公司"
attributes "buildTime": new Date().format("yyyy-MM-dd HH:mm:ss", TimeZone.getTimeZone("GMT+08:00"))

Loading…
Cancel
Save