ext.versionFile = "../version.txt"
ext.baseVersion = project.file(versionFile).text.trim()

version baseVersion

if(project.hasProperty("mavenRepository") && !project.hasProperty("finalRelease")) {
  version += "-SNAPSHOT"
}

ext.openSuiteVersion = version
