Skip to content

Commit

Permalink
updating base versionCode to 1620200100 and changing how arch increme…
Browse files Browse the repository at this point in the history
…nts happen
  • Loading branch information
n8fr8 committed May 30, 2020
1 parent eed732a commit b5e2c7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Expand Up @@ -73,7 +73,7 @@ android {
minSdkVersion 16
applicationId 'org.torproject.android'
targetSdkVersion 29
versionCode 16202001
versionCode 1620200100
versionName getVersionName()
archivesBaseName = "Orbot-$versionName"
}
Expand All @@ -83,7 +83,7 @@ android {
minSdkVersion 16
applicationId 'org.torproject.android.max'
targetSdkVersion 28
versionCode 16141000
versionCode 161410000
versionName getVersionName()
archivesBaseName = "orbotMAX-$versionName"
}**/
Expand Down Expand Up @@ -138,7 +138,7 @@ android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def baseVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
if (baseVersionCode != null) {
output.versionCodeOverride = Integer.valueOf(baseVersionCode + variant.versionCode)
output.versionCodeOverride = Integer.valueOf(variant.versionCode) + Integer.valueOf(baseVersionCode)
}
}
}

0 comments on commit b5e2c7b

Please sign in to comment.