Skip to content

Instantly share code, notes, and snippets.

@rahulkhatri19
Last active June 8, 2021 07:07
Show Gist options
  • Save rahulkhatri19/3f3c4a2aed0c8c0ee6b4b27043f2cfed to your computer and use it in GitHub Desktop.
Save rahulkhatri19/3f3c4a2aed0c8c0ee6b4b27043f2cfed to your computer and use it in GitHub Desktop.
#set ($USER_NAME = "Rahul Khatri")
#set ($GITHUB = "github.com/rahulkhatri19")
/**
* Created by ${USER_NAME} on ${DAY}, ${MONTH_NAME_FULL}, ${YEAR}.
* ${GITHUB}
**/
Build With Build version code and Name
In build.gradle (app) file
android {
applicationVariants.all { variant ->
variant.outputs.all {
outputFileName =
"Test-${variant.versionName}-${variant.versionCode}-${variant.name}.apk"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment