Skip to content

Instantly share code, notes, and snippets.

@naishe
Created October 15, 2021 11:30
Show Gist options
  • Save naishe/4f8a0030902837ffa263b64c06f1657c to your computer and use it in GitHub Desktop.
Save naishe/4f8a0030902837ffa263b64c06f1657c to your computer and use it in GitHub Desktop.
Update the version section
defaultConfig {
applicationId YOUR_APPLICATION_ID
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
// UPDATE THESE VALUES WITH THE FUNCTION CALLS
versionCode getNumericVersionFromNpm()
versionName getVersionFromNpm()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment