Skip to content

Commit

Permalink
prepare for release V1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nngarfdn committed May 13, 2022
1 parent 35f7305 commit 0079da4
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 6 deletions.
47 changes: 43 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,56 @@ android {
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
versionName "1.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField("String","API_KEY",API_KEY)
buildConfigField("String","BASE_URL",BASE_URL)
}

buildTypes {
signingConfigs {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
storeFile file('movku_key.jks')
storePassword "katasandi"
keyAlias 'key0'
keyPassword "katasandi"
}
}

buildTypes {
buildTypes {
release {
versionNameSuffix '-release'
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
multiDexEnabled true
shrinkResources true
crunchPngs true
ext.enableCrashlytics = true
signingConfig signingConfigs.release
}
debug {
debuggable true
minifyEnabled false
shrinkResources false
crunchPngs false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
ext.enableCrashlytics = false
versionNameSuffix '-staging'
signingConfig signingConfigs.release
}
}
}

lintOptions {
checkReleaseBuilds false
abortOnError false
}

applicationVariants.all { variant ->
variant.outputs.all { output ->
def fileName = "Movku - V${variant.versionName}}.apk"
outputFileName = fileName
}
}
compileOptions {
Expand Down
Binary file added app/release/Movku - V1.1-release}.apk
Binary file not shown.
Binary file removed app/release/movku-v1.0.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-release.apk"
"versionName": "1.1-release",
"outputFile": "Movku - V1.1-release}.apk"
}
],
"elementType": "File"
Expand Down

0 comments on commit 0079da4

Please sign in to comment.