prepare for 6.0.0.Alpha8

This commit is contained in:
Steve Ebersole 2021-05-18 13:06:57 -05:00
parent db502bf1b0
commit 715e87ada4
1 changed files with 2 additions and 1 deletions

View File

@ -8,12 +8,13 @@
apply plugin: 'base'
ext {
ormVersionFile = file("${rootProject.projectDir}/gradle/version.properties")
if ( project.hasProperty( 'releaseVersion' ) ) {
// Override during releases
ormVersion = new HibernateVersion( project.property( 'releaseVersion' ) as String, project )
}
else {
ormVersionFile = file("${rootProject.projectDir}/gradle/version.properties")
ormVersion = HibernateVersion.fromFile(ormVersionFile, project)
}