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

This commit is contained in:
陈云志 2020-12-16 17:17:18 +08:00
parent 14125debaa
commit 467279cc19
1 changed files with 1 additions and 1 deletions

View File

@ -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"))