try map versionName correctly

This commit is contained in:
sonora 2015-01-24 23:31:38 +01:00
parent 2e8698f066
commit bbc20c75aa

View file

@ -48,7 +48,7 @@ android {
targetSdkVersion 21
versionCode System.getenv("APK_NUMBER_VERSION")? System.getenv("APK_NUMBER_VERSION").toInteger(): versionCode
versionName System.getenv("APK_VERSION") ?: versionName
versionName System.getenv("APK_VERSION")? System.getenv("APK_NUMBER_VERSION").toString(): versionName
}
lintOptions {