apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' apply plugin: 'dagger.hilt.android.plugin' android { compileSdk 34 //compileSdk 34 defaultConfig { applicationId "com.consultantapp" minSdkVersion 24 targetSdkVersion 34 versionCode 18 versionName "1.0.18" multiDexEnabled true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true renderscriptTargetApi 21 renderscriptSupportModeEnabled true } buildFeatures { viewBinding = true } signingConfigs { debug { storeFile file("consultapp.jks") keyAlias "consultapp" keyPassword "codebrew" storePassword "codebrew" } release { storeFile file("consultapp.jks") keyAlias "consultapp" keyPassword "codebrew" storePassword "codebrew" } } flavorDimensions "app" productFlavors { consult { dimension "app" applicationId "com.lovenavigatoruser" versionCode 1 versionName "1.0.0" buildConfigField 'String', 'APP_UNIQUE_ID', "\"a59ef14422c898df221e0f4da0ed85611\"" buildConfigField 'String', 'BASE_URL', "\"https://peercation.netsolutionindia.com/\"" } } flavorDimensions "app" productFlavors { consult { dimension "app" applicationId "com.consultantapp" versionCode 6 versionName "1.0.5" buildConfigField 'String', 'APP_UNIQUE_ID', "\"a59ef14422c898df221e0f4da0ed85611\"" buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\"" } nurseLynx { dimension "app" applicationId "com.nurseLynx.user" versionCode 18 versionName "1.0.18" buildConfigField 'String', 'APP_UNIQUE_ID', "\"c6b484d83fb21425453dcd0af6c1f01b15\"" // buildConfigField 'String', 'BASE_URL', "\"https://nurselynx.royoconsult.com/\"" buildConfigField 'String', 'BASE_URL', "\"https://nurselynx.netsolutionindia.com/\"" } } buildTypes { release { signingConfig signingConfigs.release minifyEnabled false debuggable false shrinkResources false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { signingConfig signingConfigs.debug debuggable true minifyEnabled false shrinkResources false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } configurations { all { // You should exclude one of them not both of them exclude group: "com.android.support", module: "support-core-ui" exclude group: "com.android.support", module: "support-compat" } } lintOptions { checkReleaseBuilds false abortOnError false } compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = "11" } dataBinding { enabled = true } bundle { language { // Specifies that the app bundle should not support // configuration APKs for language resources. These // resources are instead packaged with each base and // dynamic feature APK. enableSplit = false } } packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/license.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/notice.txt' exclude 'META-INF/ASL2.0' exclude("META-INF/*.kotlin_module") } } allprojects { repositories { maven { url 'https://jitpack.io' } maven { url "https://jcenter.bintray.com"} maven { url "https://repo.spring.io/libs-release" } google() jcenter() } /* kapt { generateStubs = true correctErrorTypes = true }*/ } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.0") // implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10" // implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.20" implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.core:core-ktx:1.6.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5' implementation 'androidx.navigation:navigation-ui-ktx:2.3.5' implementation 'com.google.android.gms:play-services-maps:17.0.1' implementation 'com.github.aabhasr1:OtpView:v1.1.2-ktx' implementation "com.github.bumptech.glide:glide:4.11.0" /*LIFECYCLE COMPONENTS*/ implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0" /*COUNTRY CODE PICKER*/ implementation 'com.hbb20:ccp:2.4.7' /*ANDROID SUPPORT*/ implementation 'androidx.recyclerview:recyclerview:1.2.1' /*MATERIAL COMPONENTS*/ implementation 'com.google.android.material:material:1.4.0' /*KOTLIN*/ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8' implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2' /*PIN VIEW*/ //implementation "com.chaos.view:pinview:1.4.3" implementation 'io.github.chaosleung:pinview:1.4.4' /*RETROFIT*/ def retrofitVersion = '2.9.0' implementation "com.squareup.retrofit2:retrofit:$retrofitVersion" implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion" implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion" implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion" /*OK HTTP*/ implementation "com.squareup.okhttp3:okhttp:4.9.0" implementation "com.squareup.okhttp3:logging-interceptor:4.9.0" implementation "androidx.activity:activity-ktx:1.7.2" /*DAGGER*/ // implementation "com.google.dagger:dagger-android:2.37" // implementation "com.google.dagger:dagger-android-support:2.37" // kapt "com.google.dagger:dagger-android-processor:2.37" // kapt "com.google.dagger:dagger-compiler:2.37" // Add Dagger Hilt dependencies implementation "com.google.dagger:hilt-android:2.48" kapt "com.google.dagger:hilt-compiler:2.48" implementation "androidx.fragment:fragment-ktx:1.5.2" /*TIMBER*/ implementation "com.jakewharton.timber:timber:4.7.1" /*Firebase*/ implementation 'com.google.firebase:firebase-messaging:22.0.0' implementation 'com.google.firebase:firebase-core:19.0.1' implementation 'com.google.firebase:firebase-analytics-ktx:19.0.1' implementation 'com.google.firebase:firebase-dynamic-links-ktx:20.1.1' // Add the Firebase crashlytics dependency. implementation 'com.google.firebase:firebase-crashlytics-ktx:18.2.1' /*ROUNDED IMAGE VIEW*/ implementation 'com.makeramen:roundedimageview:2.3.0' //Google sign in dependency implementation 'com.google.android.gms:play-services-auth:19.2.0' implementation 'com.google.firebase:firebase-auth:21.0.1' implementation 'com.google.android.gms:play-services-location:18.0.0' implementation 'com.google.android.libraries.places:places:2.2.0' implementation "androidx.exifinterface:exifinterface:1.3.6" /*Image Doc Picker*/ // implementation 'com.droidninja:filepicker:2.2.5' /*GLIDE*/ implementation 'com.github.bumptech.glide:glide:4.12.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' /*PERMISSION DISPATCHER*/ /* implementation "com.github.hotchemi:permissionsdispatcher:4.8.0" kapt "com.github.hotchemi:permissionsdispatcher-processor:4.8.0"*/ implementation "com.github.permissions-dispatcher:permissionsdispatcher:4.8.0" kapt "com.github.permissions-dispatcher:permissionsdispatcher-processor:4.8.0" /*Socket*/ implementation('io.socket:socket.io-client:1.0.0') { exclude group: 'org.json', module: 'json' } /*Compress image*/ // implementation 'id.zelory:compressor:2.1.0' implementation 'id.zelory:compressor:3.0.1' // Jitsi Meet implementation('org.jitsi.react:jitsi-meet-sdk:5.1.0') { transitive = true } /*PAGER INDICATOR*/ // implementation 'me.relex:circleindicator:2.1.4' implementation 'me.relex:circleindicator:2.1.6' /*Card Form*/ implementation 'com.braintreepayments:card-form:5.0.0' /*Animations*/ implementation "com.airbnb.android:lottie:3.4.4" /*Date Picker*/ implementation 'com.github.florent37:singledateandtimepicker:2.2.7' /*Bmi*/ implementation 'com.github.Gruzer:simple-gauge-android:0.3.1' //for AndroidX use: implementation 'com.github.3llomi:RecordView:3.1.3' implementation 'com.google.android.gms:play-services-wallet:18.1.3' implementation 'io.card:android-sdk:5.5.1' implementation project(path: ':oppwa.mobile') implementation 'de.hdodenhof:circleimageview:3.1.0' implementation 'com.karumi:dexter:6.2.3' implementation 'androidx.work:work-runtime-ktx:2.7.1' //Volley implementation 'com.android.volley:volley:1.2.1' //Country code picker implementation 'io.michaelrocks:libphonenumber-android:8.13.35' implementation 'com.facebook.soloader:soloader:0.11.0' implementation 'com.1gravity:android-contactpicker:1.4.0' /*stripe*/ implementation 'com.stripe:stripe-android:20.40.0' } apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.crashlytics'