mirror of
https://gitee.com/jmix/cuba.git
synced 2024-11-30 10:17:43 +08:00
PL-10343 Platform build does not have releaseNumber and releaseTimestamp
This commit is contained in:
parent
f4fff9f1c0
commit
d4a739d2ea
@ -325,8 +325,12 @@ configure(globalModule) {
|
||||
}
|
||||
|
||||
task generateReleaseTimestamp(type: CubaReleaseTimeStamp) {
|
||||
releaseTimeStampPath = "$buildDir/classes/main/com/haulmont/cuba/core/global/release.timestamp"
|
||||
releaseNumberPath = "$buildDir/classes/main/com/haulmont/cuba/core/global/release.number"
|
||||
releaseTimeStampPath = "$buildDir/release-number/com/haulmont/cuba/core/global/release.timestamp"
|
||||
releaseNumberPath = "$buildDir/release-number/com/haulmont/cuba/core/global/release.number"
|
||||
}
|
||||
// do not use classes directory, because it will break Gradle task UP-TO-DATE caching
|
||||
jar {
|
||||
from new File(project.buildDir, 'release-number')
|
||||
}
|
||||
|
||||
task enhance(type: CubaEnhancing)
|
||||
|
Loading…
Reference in New Issue
Block a user