mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 20:42:56 +02:00
Merge pull request #13360 from gcalero/android_version_code
Set android versionCode and versionName through gradle parameter RELE…
This commit is contained in:
commit
27f81c891b
1 changed files with 5 additions and 2 deletions
|
@ -4,12 +4,15 @@ android {
|
||||||
compileSdkVersion 26
|
compileSdkVersion 26
|
||||||
//buildToolsVersion '27.0.3'
|
//buildToolsVersion '27.0.3'
|
||||||
|
|
||||||
|
def appVersionCode = Integer.valueOf(RELEASE_NUMBER ?: 1)
|
||||||
|
def appVersionName = RELEASE_NUMBER ?: "1.0"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "io.highfidelity.hifiinterface"
|
applicationId "io.highfidelity.hifiinterface"
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdkVersion 26
|
targetSdkVersion 26
|
||||||
versionCode 1
|
versionCode appVersionCode
|
||||||
versionName "1.0"
|
versionName appVersionName
|
||||||
ndk { abiFilters 'arm64-v8a' }
|
ndk { abiFilters 'arm64-v8a' }
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
|
|
Loading…
Reference in a new issue