pull/64/head
陈云志 5 years ago
parent e32bf652c1
commit dbe2a5a8ad

@ -1,4 +1,4 @@
// //
allprojects { allprojects {
def releaseVersion = System.getProperty("releaseVersion") def releaseVersion = System.getProperty("releaseVersion")
version = releaseVersion ? releaseVersion : "${devVersion}" version = releaseVersion ? releaseVersion : "${devVersion}"

@ -1,4 +1,4 @@
// //
ext { ext {
swaggerVersion = "3.0.0" swaggerVersion = "3.0.0"
lombokVersion = "1.18.16" lombokVersion = "1.18.16"
@ -56,7 +56,7 @@ jar {
manifest { manifest {
attributes "releaseVersion": version + "-" + getGitVersion() attributes "releaseVersion": version + "-" + getGitVersion()
attributes "vendor": "GRIDNT山东网聪信息科技有限公司" attributes "vendor": "GRIDNT山东网聪信息科技有限"
attributes "buildTime": new Date().format("yyyy-MM-dd HH:mm:ss", TimeZone.getTimeZone("GMT+08:00")) attributes "buildTime": new Date().format("yyyy-MM-dd HH:mm:ss", TimeZone.getTimeZone("GMT+08:00"))
} }
} }

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

Loading…
Cancel
Save