Support underscore (_) in versionCode

Example:

https://github.com/ubergeek42/weechat-android/blob/v1.3.1/app/build.gradle.kts#L67
This commit is contained in:
Jochen Sprickerhof 2020-11-26 17:47:04 +01:00
parent d44f35bd25
commit 2cb0ff4578
3 changed files with 24 additions and 1 deletions

View file

@ -49,6 +49,16 @@ android {
// Version code : 1
// Version name : 1.0-free
}
underscore {
applicationIdSuffix = ".underscore"
versionCode 2018_04_30
versionName "20180430-underscore"
buildConfigField "boolean", "FULL_VERSION", "true"
buildConfigField "boolean", "CLOSED_STORE", "true"
// ApplicationId : com.kunzisoft.fdroidtest.applicationidsuffix.underscore
// Version code : 2018_04_30
// Version name : 20180430-underscore
}
}
}