1. buildVersion 수정

This commit is contained in:
Administrator
2022-05-31 05:08:12 +00:00
parent db8d4384ba
commit cf2bc2b986

View File

@@ -15,10 +15,10 @@ def buildTime() {
return new Date().format('yyyy-MM-dd.HHmm') return new Date().format('yyyy-MM-dd.HHmm')
} }
version = buildTime() // version = buildTime()
def cnf = [ def cnf = [
outName: 'mhez-admin', outName: 'mhez-admin',
version: version version: '1.0'
] ]
compileJava.dependsOn(processResources) compileJava.dependsOn(processResources)
@@ -121,4 +121,4 @@ bootWar {
attributes( 'Implementation-Title': cnf.outName, 'Implementation-Version': cnf.version ) attributes( 'Implementation-Title': cnf.outName, 'Implementation-Version': cnf.version )
} }
archiveFileName = "${cnf.outName}-${cnf.version}.war" archiveFileName = "${cnf.outName}-${cnf.version}.war"
} }