1+ plugins {
2+ id ' com.android.application'
3+ id ' kotlin-android'
4+ id ' kotlin-kapt'
5+ id ' kotlin-android-extensions'
6+ }
7+ apply plugin : ' com.google.firebase.crashlytics'
8+ apply plugin : ' kotlin-android'
9+ apply plugin : ' com.google.gms.google-services'
10+
11+ android {
12+
13+ signingConfigs {
14+ config {
15+ keyAlias ' UiKit'
16+ keyPassword ' contus@uikit'
17+ storeFile file(' contus_internal_uikit_keystore.jks' )
18+ storePassword ' contus@uikit'
19+ }
20+ aaptOptions {
21+ noCompress " tflite"
22+ }
23+ }
24+
25+ buildFeatures {
26+ viewBinding true
27+ }
28+
29+ lintOptions {
30+ abortOnError false
31+ }
32+
33+ compileSdkVersion 33
34+ buildToolsVersion " 30.0.2"
35+
36+ defaultConfig {
37+ minSdkVersion 21
38+ targetSdkVersion 33
39+ versionCode 15
40+ versionName " 7.3.0"
41+ multiDexEnabled true
42+ buildConfigField " java.util.Date" , " BUILD_TIME" , " new java.util.Date(" + System . currentTimeMillis() + " L)"
43+ vectorDrawables. useSupportLibrary = true
44+ testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
45+ applicationId " com.mirrorfly.uikit"
46+ }
47+
48+ buildTypes {
49+ debug {
50+ buildConfigField ' Boolean' , ' IS_QA_BUILD' , ' true'
51+ buildConfigField ' String' , ' SDK_BASE_URL' , ' "https://api-preprod-sandbox.mirrorfly.com/api/v1/"'
52+ buildConfigField ' String' , ' LICENSE' , ' "Please enter your License key"'
53+ buildConfigField ' String' , ' WEB_CHAT_LOGIN' , ' "https://webchat-preprod-sandbox.mirrorfly.com/"'
54+ buildConfigField ' Boolean' , ' IS_TRIAL_LICENSE' , ' true'
55+ buildConfigField
" String" ,
" SUPPORT_MAIL" ,
' "[email protected] "' 56+ resValue(" string" , " app_name" , " UI Kit" )
57+ shrinkResources false
58+ debuggable true
59+ minifyEnabled false
60+ signingConfig signingConfigs. config
61+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
62+ }
63+
64+ release {
65+ buildConfigField ' Boolean' , ' IS_QA_BUILD' , ' true'
66+ buildConfigField ' String' , ' SDK_BASE_URL' , ' "https://api-preprod-sandbox.mirrorfly.com/api/v1/"'
67+ buildConfigField ' String' , ' LICENSE' , ' "Please enter your License key"'
68+ buildConfigField ' String' , ' WEB_CHAT_LOGIN' , ' "https://webchat-preprod-sandbox.mirrorfly.com/"'
69+ buildConfigField ' Boolean' , ' IS_TRIAL_LICENSE' , ' true'
70+ buildConfigField
" String" ,
" SUPPORT_MAIL" ,
' "[email protected] "' 71+ resValue(" string" , " app_name" , " UI Kit" )
72+ shrinkResources false
73+ debuggable false
74+ minifyEnabled false
75+ signingConfig signingConfigs. config
76+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
77+ }
78+ }
79+
80+ kotlinOptions {
81+ jvmTarget = ' 1.8'
82+ }
83+
84+ compileOptions {
85+ sourceCompatibility JavaVersion . VERSION_1_8
86+ targetCompatibility JavaVersion . VERSION_1_8
87+ }
88+
89+ dexOptions {
90+ javaMaxHeapSize " 4g"
91+ }
92+
93+
94+ buildTypes. each {
95+ it. buildConfigField ' String' , ' GOOGLE_TRANSLATE_KEY' , GOOGLE_TRANSLATE_KEY
96+ it. buildConfigField ' Boolean' , ' HIPAA_COMPLIANCE_ENABLED' , HIPAA_COMPLIANCE_ENABLED
97+ }
98+ }
99+
100+ dependencies {
101+
102+ implementation ' com.google.android.gms:play-services-auth:20.3.0'
103+ configurations {
104+ all {
105+ exclude group : ' org.json' , module : ' json'
106+ exclude group : ' xpp3' , module : ' xpp3'
107+ }
108+ }
109+
110+ implementation ' androidx.appcompat:appcompat:1.2.0'
111+ implementation ' androidx.fragment:fragment-ktx:1.3.2'
112+ implementation ' androidx.activity:activity-ktx:1.3.0-alpha05'
113+ implementation ' com.google.android.material:material:1.3.0'
114+ implementation ' androidx.constraintlayout:constraintlayout:2.0.4'
115+ implementation ' androidx.legacy:legacy-support-v4:1.0.0'
116+ testImplementation ' junit:junit:4.13.2'
117+ androidTestImplementation ' androidx.test.ext:junit:1.1.2'
118+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.3.0'
119+ implementation " androidx.core:core-ktx:1.3.2"
120+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
121+
122+ implementation ' com.google.firebase:firebase-messaging:23.0.8'
123+ implementation ' com.google.firebase:firebase-messaging-directboot:23.0.8'
124+ implementation ' androidx.emoji:emoji:1.1.0'
125+ implementation ' androidx.emoji:emoji-appcompat:1.1.0'
126+ implementation ' io.github.rockerhieu:emojicon:1.4.2'
127+
128+ // Glide - versions.gradle
129+ implementation deps. bumptechglide. glide
130+ kapt deps. bumptechglide. compiler
131+ implementation deps. bumptechglide. okhttp3
132+
133+ // Import the BoM for the Firebase platform
134+ implementation platform(' com.google.firebase:firebase-bom:30.5.0' )
135+ // Declare the KTX library instead (which automatically has a dependency on the base library)
136+ implementation ' com.google.firebase:firebase-analytics-ktx'
137+ implementation ' com.google.firebase:firebase-crashlytics-ktx'
138+ implementation ' com.google.firebase:firebase-auth-ktx'
139+ // Declare the dependencies for the Remote Config
140+ // When using the BoM, you don't specify versions in Firebase library dependencies
141+ implementation ' com.google.firebase:firebase-config-ktx'
142+ implementation ' androidx.browser:browser:1.3.0'
143+
144+ // KTX Depenedency
145+ implementation ' androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0'
146+
147+ // For lifecycle listener
148+ implementation ' android.arch.lifecycle:extensions:1.1.1'
149+ // noinspection LifecycleAnnotationProcessorWithJava8
150+ kapt ' android.arch.lifecycle:compiler:1.1.1'
151+
152+ // For gson parsing
153+ implementation ' com.google.code.gson:gson:2.8.6'
154+
155+ implementation ' androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
156+ implementation ' androidx.multidex:multidex:2.0.1'
157+ implementation ' com.google.android.gms:play-services-location:18.0.0'
158+ implementation ' com.google.android.gms:play-services-maps:17.0.1'
159+
160+ implementation ' com.facebook.stetho:stetho:1.3.1'
161+ implementation ' com.hypertrack:hyperlog:0.0.10'
162+ // for mobile number formatting
163+ implementation ' io.michaelrocks:libphonenumber-android:8.10.1'
164+
165+ // Dagger Dependencies
166+ api ' com.google.dagger:dagger:2.40.5'
167+ kapt ' com.google.dagger:dagger-compiler:2.40.5'
168+ api ' com.google.dagger:dagger-android:2.40.5'
169+ api ' com.google.dagger:dagger-android-support:2.40.5'
170+ kapt ' com.google.dagger:dagger-android-processor:2.40.5'
171+
172+ // coroutines
173+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1'
174+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.8'
175+ // apicalls
176+ implementation ' com.squareup.retrofit2:retrofit:2.6.1'
177+ implementation ' com.squareup.retrofit2:converter-gson:2.6.1'
178+ implementation ' com.squareup.okhttp3:okhttp:4.2.0'
179+ implementation ' com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
180+ // stetho interceptor
181+ implementation ' com.facebook.stetho:stetho-okhttp3:1.3.1'
182+ // okhttp interceptor
183+ implementation ' com.squareup.okhttp3:logging-interceptor:3.14.3'
184+
185+ implementation ' io.reactivex.rxjava2:rxjava:2.2.15'
186+ implementation ' io.reactivex.rxjava2:rxandroid:2.1.1'
187+
188+ implementation ' com.jakewharton.rxbinding3:rxbinding:3.1.0'
189+ implementation ' com.jakewharton.rxbinding3:rxbinding-core:3.1.0'
190+ implementation ' com.jakewharton.rxbinding3:rxbinding-appcompat:3.1.0'
191+ implementation ' com.jakewharton.rxbinding3:rxbinding-material:3.1.0'
192+ implementation ' com.jakewharton.rxbinding3:rxbinding-recyclerview:3.1.0'
193+
194+ // Collapsing Toolbar
195+ implementation ' net.opacapp:multiline-collapsingtoolbar:27.1.1'
196+
197+ // //for webrtc
198+ implementation ' com.mirrorfly.sdk:webrtc:0.0.11'
199+
200+ implementation project(' :sdk:mediapicker' )
201+ implementation project(' :sdk:cameraview' )
202+ implementation project(' :sdk:zoomimageview' )
203+ implementation project(' :sdk:spinnerview' )
204+ implementation project(' :sdk:imagecropper' )
205+ implementation project(' :sdk:pix' )
206+ implementation project(' :sdk:biometric-auth' )
207+ implementation project(' :sdk:googletranslation' )
208+ implementation project(path : ' :call' )
209+
210+ implementation ' com.mirrorfly.sdk:MirrorFlySDK:7.3.0'
211+
212+ // Socket - versions.gradle
213+ implementation ' com.github.nkzawa:socket.io-client:0.6.0'
214+ // okhttp interceptor
215+ implementation ' com.squareup.okhttp3:logging-interceptor:3.14.3'
216+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
217+ // coroutines
218+
219+ implementation ' androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
220+ implementation ' androidx.media:media:1.2.1'
221+
222+ // room database
223+ implementation ' androidx.room:room-runtime:2.5.0'
224+ kapt ' androidx.room:room-compiler:2.5.0'
225+ implementation " androidx.room:room-ktx:2.5.0"
226+
227+ // Lifecycle
228+ implementation ' androidx.lifecycle:lifecycle-extensions:2.2.0'
229+ kapt ' androidx.lifecycle:lifecycle-compiler:2.3.0'
230+ // apicalls
231+ implementation ' com.squareup.retrofit2:retrofit:2.6.1'
232+ implementation ' com.squareup.retrofit2:converter-gson:2.6.1'
233+ implementation ' com.squareup.okhttp3:okhttp:4.2.0'
234+ implementation ' com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
235+ implementation ' com.google.firebase:firebase-ml-natural-language-smart-reply-model:20.0.6'
236+ // QR Code Scanner
237+ implementation ' com.journeyapps:zxing-android-embedded:3.6.0@aar'
238+ implementation ' com.google.zxing:core:3.3.2'
239+ // shortcut badger
240+ implementation " me.leolin:ShortcutBadger:1.1.22@aar"
241+
242+ implementation ' androidx.security:security-crypto:1.1.0-alpha03'
243+
244+ // Google Drive
245+ implementation ' com.google.android.gms:play-services-auth:20.3.0'
246+ implementation(' com.google.api-client:google-api-client-android:1.26.0' ) {
247+ exclude group : ' org.apache.httpcomponents'
248+ exclude module : ' guava-jdk5'
249+ }
250+ implementation(' com.google.apis:google-api-services-drive:v3-rev136-1.25.0' ) {
251+ exclude group : ' org.apache.httpcomponents'
252+ exclude module : ' guava-jdk5'
253+ }
254+ implementation ' com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
255+
256+ // Work Manager
257+ implementation ' androidx.work:work-runtime-ktx:2.8.1'
258+
259+ }
260+ repositories {
261+ mavenCentral()
262+ }
263+ apply plugin : ' com.google.gms.google-services'
0 commit comments