Skip to content

Instantly share code, notes, and snippets.

View rajajawahar's full-sized avatar
🏠
Working from home

Raja Jawahar rajajawahar

🏠
Working from home
View GitHub Profile
##Replace the below credentials with the Release keystore values.
keystorePath=''../Your KeyStore.jks
storePassword='StorePassword'
keyAlias=''Alias Name
keyPassword='Password'
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.tarkalabs.basicdoings"
minSdkVersion 15
targetSdkVersion 28
ext.deps = [:]
def versions = [:]
// Android Support Dependency Version
versions.support = "27.0.2"
//Android Other Support Dependency Version
versions.constraint_layout = "1.1.3"
versions.multidex = "1.0.2"
//Other methods
def getGitHash() {
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
standardOutput = stdout
}
return stdout.toString().trim()
}