Commit 8e495f6c authored by Seatel's avatar Seatel

buildFeatures {

            buildConfig true
        }
parent 4708f57e
Pipeline #96 canceled with stages
...@@ -17,18 +17,18 @@ android { ...@@ -17,18 +17,18 @@ android {
storePassword 'seatel_Cambodia' storePassword 'seatel_Cambodia'
keyPassword 'seatel_Cambodia' keyPassword 'seatel_Cambodia'
keyAlias 'seatel_cambodia' keyAlias 'seatel_cambodia'
storeFile file('/Users/ryan/Documents/Project/Seatel_android_project/sea-tel-android/app/key/release.jks') storeFile file('/Users/seatel/android_project/android-yes/seashop.jks')
} }
} }
compileSdk 34 compileSdk 35
namespace 'com.seatel.mobilehall' namespace 'com.seatel.mobilehall'
defaultConfig { defaultConfig {
applicationId "com.seatel.mobilehall" applicationId "com.seatel.mobilehall"
minSdk 23 minSdk 23
targetSdk 34 compileSdk 34
versionCode 202505301 versionCode 202720000
versionName "2.3.19" versionName "2.3.20"
multiDexEnabled true multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
signingConfig signingConfigs.release signingConfig signingConfigs.release
...@@ -46,13 +46,14 @@ android { ...@@ -46,13 +46,14 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release signingConfig signingConfigs.release
proguardFile '/Users/ryan/Documents/Project/Seatel_android_project/sea-tel-android/app/proguard-rules.pro' proguardFile '/Users/ryan/Documents/Project/Seatel_android_project/sea-tel-android/app/proguard-rules.pro'
ext.alwaysUpdateBuildId = false
} }
debug { debug {
resValue "string", "app_name", "yes seatel dev" resValue "string", "app_name", "yes seatel dev"
buildConfigField 'String', 'CLIENT_ID', '"eyJhbGciOiJIUzI1NiJ9.c2VhdGVsLWFwaS1kZXY.NsFhP0C7pqeONbcGAf42lQLLe6AIgy1QdOUOrg0uqcI"' buildConfigField 'String', 'CLIENT_ID', '"eyJhbGciOiJIUzI1NiJ9.c2VhdGVsLWFwaS1kZXY.NsFhP0C7pqeONbcGAf42lQLLe6AIgy1QdOUOrg0uqcI"'
buildConfigField 'String', 'BASE_URL', '"http://api-dev.yes.com.kh/"' //buildConfigField 'String', 'BASE_URL', '"http://api-dev.yes.com.kh/"'
buildConfigField 'String', 'BASE_URL', '"https://api-dev.yes.com.kh/"'
buildConfigField 'String', 'CLIENT_SECRET', '"MjExNzM0NWNiNTA3NDZmNzg4NmE0NTNlYjYyMWNkODk="' buildConfigField 'String', 'CLIENT_SECRET', '"MjExNzM0NWNiNTA3NDZmNzg4NmE0NTNlYjYyMWNkODk="'
debuggable true debuggable true
buildConfigField 'Boolean', 'enableCrashlytics', 'false' buildConfigField 'Boolean', 'enableCrashlytics', 'false'
...@@ -96,6 +97,10 @@ android { ...@@ -96,6 +97,10 @@ android {
abortOnError false abortOnError false
} }
buildFeatures {
buildConfig true
}
} }
configurations { configurations {
...@@ -105,54 +110,40 @@ configurations { ...@@ -105,54 +110,40 @@ configurations {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.aar']) implementation fileTree(dir: 'libs', include: ['*.aar'])
//noinspection GradleDependency
implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.core:core-ktx:1.8.0'
//noinspection GradleDependency
implementation 'androidx.appcompat:appcompat:1.4.2' implementation 'androidx.appcompat:appcompat:1.4.2'
//noinspection GradleDependency
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
//noinspection GradleDependency
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2' implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
//noinspection GradleDependency
implementation 'androidx.navigation:navigation-ui-ktx:2.4.2' implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'com.google.code.gson:gson:2.9.0' implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.github.bumptech.glide:glide:4.13.0' implementation 'com.github.bumptech.glide:glide:4.13.0'
//noinspection GradleDependency
implementation 'com.google.firebase:firebase-messaging-ktx:23.1.2' implementation 'com.google.firebase:firebase-messaging-ktx:23.1.2'
//noinspection GradleDependency
implementation 'androidx.work:work-runtime-ktx:2.8.1' implementation 'androidx.work:work-runtime-ktx:2.8.1'
implementation 'com.google.android.gms:play-services-mlkit-barcode-scanning:18.3.1' implementation 'com.google.android.gms:play-services-mlkit-barcode-scanning:18.3.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0'
implementation 'com.android.support:multidex:1.0.3' implementation 'com.android.support:multidex:1.0.3'
implementation 'com.github.bigstark:fresco-parallax-drawee-view:1.2.1' implementation 'com.github.bigstark:fresco-parallax-drawee-view:1.2.1'
implementation 'com.github.bigstark:fresco-parallax-drawee-view:1.2.0'
implementation 'com.facebook.android:facebook-android-sdk:4.42.0' implementation 'com.facebook.android:facebook-android-sdk:4.42.0'
implementation 'com.mcxiaoke.volley:library:1.0.19' implementation 'com.mcxiaoke.volley:library:1.0.19'
implementation 'com.jaredrummler:android-device-names:1.1.7' implementation 'com.jaredrummler:android-device-names:1.1.7'
//noinspection GradleDependency
implementation 'com.google.android.material:material:1.6.1' implementation 'com.google.android.material:material:1.6.1'
implementation 'com.google.maps.android:android-maps-utils:0.5' implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation 'com.google.android.gms:play-services-gcm:17.0.0' implementation 'com.google.android.gms:play-services-gcm:17.0.0'
//noinspection GradleDependency
implementation 'com.google.android.gms:play-services-auth:17.0.0' implementation 'com.google.android.gms:play-services-auth:17.0.0'
//noinspection GradleDependency
implementation 'com.google.android.gms:play-services-maps:17.0.0' implementation 'com.google.android.gms:play-services-maps:17.0.0'
//noinspection GradleDependency
implementation 'com.google.android.gms:play-services-location:17.0.0' implementation 'com.google.android.gms:play-services-location:17.0.0'
//noinspection GradleDependency
implementation 'com.google.android.gms:play-services-analytics:17.0.0' implementation 'com.google.android.gms:play-services-analytics:17.0.0'
//noinspection GradleDependency
implementation 'com.google.android.gms:play-services-measurement-api:21.1.0' implementation 'com.google.android.gms:play-services-measurement-api:21.1.0'
implementation 'com.google.android.gms:play-services-vision:20.1.3' implementation 'com.google.android.gms:play-services-vision:20.1.3'
implementation("com.google.android.material:material:1.12.0") implementation("com.google.android.material:material:1.12.0")
//firebase //firebase
//noinspection GradleDependency
implementation platform('com.google.firebase:firebase-bom:31.2.3') implementation platform('com.google.firebase:firebase-bom:31.2.3')
implementation 'com.google.firebase:firebase-analytics-ktx' implementation 'com.google.firebase:firebase-analytics-ktx'
//noinspection GradleDependency
implementation 'com.google.firebase:firebase-ml-vision:24.0.3' implementation 'com.google.firebase:firebase-ml-vision:24.0.3'
implementation 'com.google.firebase:firebase-ml-vision-barcode-model:16.1.2' implementation 'com.google.firebase:firebase-ml-vision-barcode-model:16.1.2'
...@@ -161,17 +152,14 @@ dependencies { ...@@ -161,17 +152,14 @@ dependencies {
api 'io.anyline:anylinesdk:18.1@aar' api 'io.anyline:anylinesdk:18.1@aar'
customImplementation('io.anyline:anylinesdk:18.1@aar') customImplementation('io.anyline:anylinesdk:18.1@aar')
//noinspection GradleDependency
api 'org.apache.httpcomponents:httpcore:4.4.6' api 'org.apache.httpcomponents:httpcore:4.4.6'
//noinspection GradleDependency
api 'org.apache.httpcomponents:httpmime:4.3.6' api 'org.apache.httpcomponents:httpmime:4.3.6'
//noinspection GradleDependency
implementation 'org.apache.httpcomponents:httpcore:4.4.10' implementation 'org.apache.httpcomponents:httpcore:4.4.10'
implementation 'id.zelory:compressor:3.0.1' implementation 'id.zelory:compressor:3.0.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.23' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.23'
//noinspection GradleDependency
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
implementation 'de.hdodenhof:circleimageview:2.2.0' implementation 'de.hdodenhof:circleimageview:2.2.0'
...@@ -179,26 +167,19 @@ dependencies { ...@@ -179,26 +167,19 @@ dependencies {
implementation("io.coil-kt:coil:2.2.2") implementation("io.coil-kt:coil:2.2.2")
implementation 'com.journeyapps:zxing-android-embedded:4.3.0' implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.multidex:multidex:2.0.1'
//noinspection GradleDependency
implementation 'com.google.android.exoplayer:exoplayer:2.18.4' implementation 'com.google.android.exoplayer:exoplayer:2.18.4'
implementation "com.airbnb.android:lottie:6.0.0" implementation "com.airbnb.android:lottie:6.0.0"
// camera x // camera x
def camerax_version = "1.0.2" def camerax_version = "1.0.2"
//noinspection GradleDependency
implementation "androidx.camera:camera-core:${camerax_version}" implementation "androidx.camera:camera-core:${camerax_version}"
//noinspection GradleDependency
implementation "androidx.camera:camera-lifecycle:${camerax_version}" implementation "androidx.camera:camera-lifecycle:${camerax_version}"
//noinspection GradleDependency
implementation "androidx.camera:camera-camera2:${camerax_version}" implementation "androidx.camera:camera-camera2:${camerax_version}"
//noinspection GradleDependency
implementation "androidx.camera:camera-view:1.0.0-alpha32" implementation "androidx.camera:camera-view:1.0.0-alpha32"
// mlkit face detection & gson // mlkit face detection & gson
//noinspection GradleDependency
implementation "com.google.mlkit:face-detection:16.1.5" implementation "com.google.mlkit:face-detection:16.1.5"
//noinspection GradleDependency
implementation "com.google.code.gson:gson:2.8.6" implementation "com.google.code.gson:gson:2.8.6"
// Use a stable version for TensorFlow Lite // Use a stable version for TensorFlow Lite
...@@ -218,7 +199,6 @@ dependencies { ...@@ -218,7 +199,6 @@ dependencies {
// implementation(name: 'circleprogressbar-debug', ext: 'aar') // implementation(name: 'circleprogressbar-debug', ext: 'aar')
//implementation 'com.github.smarteist:autoimageslider:1.4.0' //implementation 'com.github.smarteist:autoimageslider:1.4.0'
//implementation ("com.github.smarteist:autoimageslider:1.4.0-appcompat")
//api 'com.theartofdev.edmodo:android-image-cropper:2.8.0' //api 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
implementation("com.vanniktech:android-image-cropper:4.6.0") implementation("com.vanniktech:android-image-cropper:4.6.0")
...@@ -227,13 +207,7 @@ dependencies { ...@@ -227,13 +207,7 @@ dependencies {
// test // test
testImplementation 'junit:junit' testImplementation 'junit:junit'
//noinspection GradleDependency androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
//noinspection GradleDependency
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
implementation 'com.google.android.material:material:1.11.0'
implementation("io.coil-kt:coil:2.4.0")
} }
...@@ -15,7 +15,7 @@ buildscript { ...@@ -15,7 +15,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:8.10.1' classpath 'com.android.tools.build:gradle:8.1.4'
classpath "io.realm:realm-gradle-plugin:10.15.1" classpath "io.realm:realm-gradle-plugin:10.15.1"
classpath 'com.google.gms:google-services:4.3.15' classpath 'com.google.gms:google-services:4.3.15'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment