mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 05:28:22 +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
|
compileJava.dependsOn generateProtoBuf
|
||||||
|
copyVersion.dependsOn compileJava
|
||||||
|
war.dependsOn copyVersion
|
||||||
|
|
||||||
ext.configDir = new File(projectDir, 'config')
|
ext.configDir = new File(projectDir, 'config')
|
||||||
ext.checkstyleConfigDir = "$configDir/checkstyle"
|
ext.checkstyleConfigDir = "$configDir/checkstyle"
|
||||||
@ -49,6 +51,10 @@ checkstyle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
war {
|
war {
|
||||||
|
from(buildDir) {
|
||||||
|
include 'VERSION'
|
||||||
|
into 'WEB-INF/classes'
|
||||||
|
}
|
||||||
archiveName = 'HIRS_AttestationCA.war'
|
archiveName = 'HIRS_AttestationCA.war'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user