PL-10343 Platform build does not have releaseNumber and releaseTimestamp

This commit is contained in:
Yuriy Artamonov 2018-03-29 11:28:32 +04:00
parent f4fff9f1c0
commit d4a739d2ea

View File

@ -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)