mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-19 21:17:59 +00:00
[#3] Ensure Attestation CA packages VERSION file correctly
This commit is contained in:
parent
4e59c5fff3
commit
9fdd750935
@ -37,6 +37,8 @@ task generateProtoBuf(type:Exec) {
|
||||
}
|
||||
|
||||
compileJava.dependsOn generateProtoBuf
|
||||
copyVersion.dependsOn compileJava
|
||||
war.dependsOn copyVersion
|
||||
|
||||
ext.configDir = new File(projectDir, 'config')
|
||||
ext.checkstyleConfigDir = "$configDir/checkstyle"
|
||||
@ -49,6 +51,10 @@ checkstyle {
|
||||
}
|
||||
|
||||
war {
|
||||
from(buildDir) {
|
||||
include 'VERSION'
|
||||
into 'WEB-INF/classes'
|
||||
}
|
||||
archiveName = 'HIRS_AttestationCA.war'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user