summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle11
1 files changed, 1 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle
index be0a6cf..27842f9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,21 +11,12 @@ buildscript {
'major': 1,
'minor': 0,
'patch': 0,
- 'build': "RC-1",
],
]
ext.buildConfig.version['name'] = "${buildConfig.version.major}.${buildConfig.version.minor}.${buildConfig.version.patch}"
ext.buildConfig.version['fullName'] = "${buildConfig.version.name}-${buildConfig.version.build}"
- def buildNumber
- if (buildConfig.version.build == 'alpha') {
- buildNumber = -2
- } else if (buildConfig.version.build == 'beta') {
- buildNumber = -1
- } else {
- buildNumber = 0
- }
- ext.buildConfig.version['code'] = buildConfig.version.major * 1000000 + buildConfig.version.minor * 10000 + buildConfig.version.patch * 100 + buildNumber
+ ext.buildConfig.version['code'] = buildConfig.version.major * 1000000 + buildConfig.version.minor * 1000 + buildConfig.version.patch
// Load properties either from local.properties or system environment (on CI).
apply from: rootProject.file('load-properties.gradle')