|
@@ -2,23 +2,20 @@ apply plugin: 'com.android.application'
|
|
|
apply plugin: 'kotlin-android'
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
-// Apply the Crashlytics Gradle plugin
|
|
|
-//apply plugin: 'com.google.gms.google-services'
|
|
|
-//apply plugin: 'com.google.firebase.crashlytics'
|
|
|
+
|
|
|
android {
|
|
|
compileSdkVersion 31
|
|
|
buildToolsVersion "29.0.3"
|
|
|
signingConfigs {
|
|
|
release {
|
|
|
storeFile rootProject.file("evaluation-testing.jks")
|
|
|
- //storeFile file('D:\\Desktop\\evaluation-testing.jks')
|
|
|
storePassword "123456"
|
|
|
keyAlias = "gdt"
|
|
|
keyPassword "123456"
|
|
|
}
|
|
|
}
|
|
|
defaultConfig {
|
|
|
- applicationId "com.sambath.sbc"
|
|
|
+ applicationId "com.sambath.kunkhmer"
|
|
|
minSdkVersion 21
|
|
|
targetSdkVersion 31
|
|
|
versionCode 1
|
|
@@ -29,15 +26,11 @@ android {
|
|
|
|
|
|
buildTypes {
|
|
|
debug {
|
|
|
-// manifestPlaceholders = [enableCrashlytic:false]
|
|
|
-// firebaseCrashlytics.mappingFileUploadEnabled false
|
|
|
minifyEnabled false
|
|
|
debuggable true
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
}
|
|
|
release {
|
|
|
-// manifestPlaceholders = [enableCrashlytic:true]
|
|
|
-// firebaseCrashlytics.mappingFileUploadEnabled true
|
|
|
shrinkResources true
|
|
|
minifyEnabled true
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
@@ -85,7 +78,7 @@ android {
|
|
|
applicationVariants.all { variant ->
|
|
|
variant.outputs.all {
|
|
|
//def formattedDate = new Date().format('yyyy-MM-dd HH-mm')
|
|
|
- def appName = "SBC-Mobile"
|
|
|
+ def appName = "Kun-Khmer"
|
|
|
def appId = variant.applicationId
|
|
|
def versionName = variant.versionName
|
|
|
def versionCode = variant.versionCode
|
|
@@ -128,15 +121,15 @@ dependencies {
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
|
|
|
implementation 'com.itkacher.okhttpprofiler:okhttpprofiler:1.0.7'
|
|
|
|
|
|
-// /*Json Serialize & Deserialize Library*/
|
|
|
+ /*Json Serialize & Deserialize Library*/
|
|
|
implementation("com.squareup.moshi:moshi-kotlin:1.9.2")
|
|
|
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.9.2")
|
|
|
-//Socket io client
|
|
|
+ //Socket io client
|
|
|
implementation('io.socket:socket.io-client:2.0.0') {
|
|
|
exclude group: 'org.json', module: 'json'
|
|
|
}
|
|
|
|
|
|
-// Logging helper
|
|
|
+ // Logging helper
|
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
|
|
|