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