creating new project: post-create checklist - refactor (change module name) - modify app's build.gradle import java.text.DateFormat import java.text.SimpleDateFormat static def getDateTime() { DateFormat that = new SimpleDateFormat("yyyyMMddHHmmss") return that.format(new Date()) } android { signingConfigs { debug { storeFile file('/home/azman/.keystore/my1keys.jks') storePassword 'testkey' keyAlias = 'testKey' keyPassword 'testkey' } } ... (compileSdkVersion,buildToolsVersion) def name = archivesBaseName def code = getDateTime() def vers = "0.1" defaultConfig { ... versionCode code.toBigInteger() versionName "${vers}" signingConfig signingConfigs.debug } buildTypes { applicationVariants.all { variant -> variant.outputs.all { if (variant.name == "release") { outputFileName = "${name}-${vers}-${code}.apk" } else { outputFileName = "${name}-${variant.name}-${code}.apk" } } } ... } } - find file>settings (disable spelling check in code inspection) - enable version control (git) & commit