Skip to content

Commit

Permalink
Merge pull request #11 from moneymanagerex/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
velmuruganc committed Feb 18, 2019
2 parents af50b6e + 8fceffe commit 92c796f
Showing 1 changed file with 28 additions and 43 deletions.
71 changes: 28 additions & 43 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ android {
defaultConfig {
applicationId "com.money.manager.ex"
versionCode 994
versionName getVersionAsDate() + "." + versionCode
//versionName getVersionAsDate() + "." + versionCode
versionName "2019.02.14.2"
// $applicationId
setProperty("archivesBaseName", "ammx-$versionName")

Expand All @@ -54,48 +55,32 @@ android {
release.setRoot('build-types/release')
}

buildTypes {
debug {
applicationIdSuffix ".debug"

minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

// Disable fabric build id for debug builds
// buildConfigField "boolean", "USE_CRASHLYTICS", "false"
// ext.enableCrashlytics = false
}
beta {
applicationIdSuffix ".beta"
versionNameSuffix "-beta"

minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

versionNameSuffix "-beta"
}
release {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

// applicationVariants.all { variant ->
// variant.outputs.all { output ->
// // append the version to the file name.
// def version = "-" + defaultConfig.versionName
// def outputFile = variant.getPackageApplicationProvider().get().outputs.files[1]
// //def fileName = output.outputFile.name
// def fileName = outputFile.name
// .replace("app-", "ammx-")
// .replace(".apk", version + ".apk")
// outputFileName = fileName
// }
// }
versionNameSuffix "-release"
}
}
// buildTypes {
// debug {
// applicationIdSuffix ".debug"
//
// minifyEnabled false
// shrinkResources false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// }
// beta {
// applicationIdSuffix ".beta"
// versionNameSuffix "-beta"
//
// minifyEnabled false
// shrinkResources false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
//
// versionNameSuffix "-beta"
// }
// release {
// minifyEnabled false
// shrinkResources false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
//
// versionNameSuffix "-release"
// }
// }

dataBinding {
enabled = true
Expand Down

0 comments on commit 92c796f

Please sign in to comment.