fixed int treated as string

This commit is contained in:
2016-04-30 20:56:10 +02:00
parent c6887e5905
commit e1f6ca4f33

View File

@@ -52,9 +52,9 @@ android {
applicationId "com.idlegandalf.ledd"
minSdkVersion 18
targetSdkVersion 23
versionCode System.getenv("BUILD_NUMBER") ?: 5
versionCode System.getenv("BUILD_NUMBER") as Integer ?: 5
versionName System.getenv("GIT_COMMIT") ?: "1.0.4-SNAPSHOT"
archivesBaseName = System.getenv("BUILD_TAG") ?: "LedD"
archivesBaseName = "LedD-" + versionCode + "-" + versionName
}
buildTypes {
release {