312 lines
10 KiB
Groovy
312 lines
10 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'dagger.hilt.android.plugin'
|
|
|
|
|
|
android {
|
|
compileSdk 34
|
|
namespace "com.consultantvendor"
|
|
defaultConfig {
|
|
applicationId "com.consultantvendor"
|
|
minSdkVersion 24
|
|
targetSdkVersion 34
|
|
versionCode 14
|
|
versionName "1.0.13"
|
|
multiDexEnabled true
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables.useSupportLibrary = 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 {
|
|
nurseLynx {
|
|
dimension "app"
|
|
applicationId "com.nurseLynx.expert"
|
|
versionCode 14
|
|
versionName "1.0.13"
|
|
buildConfigField 'String', 'APP_UNIQUE_ID', "\"c6b484d83fb21425453dcd0af6c1f01b15\""
|
|
// buildConfigField 'String', 'BASE_URL', "\"https://nurselynx.netsolutionindia.com/\""
|
|
buildConfigField 'String', 'BASE_URL', "\"https://nurselynxx.dmlabs.in/\""
|
|
}
|
|
}
|
|
|
|
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'
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
// Or, if you prefer, you can continue to check for errors in release builds,
|
|
// but continue the build even when errors are found:
|
|
abortOnError false
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
}
|
|
|
|
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")
|
|
}
|
|
// To inline the bytecode built with JVM target 1.8 into
|
|
// bytecode that is being built with JVM target 1.6. (e.g. navArgs)
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven { url 'https://jitpack.io' }
|
|
maven { url "https://jcenter.bintray.com"}
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
/* kapt {
|
|
generateStubs = true
|
|
correctErrorTypes = true
|
|
}*/
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.0")
|
|
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'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
implementation "androidx.multidex:multidex:2.0.1"
|
|
implementation "androidx.exifinterface:exifinterface:1.3.6"
|
|
implementation("com.facebook.soloader:soloader:0.10.4")
|
|
|
|
/*LIFECYCLE COMPONENTS*/
|
|
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
|
|
|
|
/*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.4.3'
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1'
|
|
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*/
|
|
implementation "com.squareup.retrofit2:retrofit:2.9.0"
|
|
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
|
|
implementation "com.squareup.retrofit2:converter-scalars:2.9.0"
|
|
implementation "com.squareup.retrofit2:adapter-rxjava2:2.9.0"
|
|
|
|
/*OK HTTP*/
|
|
implementation "com.squareup.okhttp3:okhttp:4.9.0"
|
|
implementation "com.squareup.okhttp3:logging-interceptor:4.9.0"
|
|
|
|
|
|
// 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"
|
|
|
|
kapt 'org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.2.0'
|
|
/*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.6.2'
|
|
|
|
/*ROUNDED IMAGE VIEW*/
|
|
implementation 'com.makeramen:roundedimageview:2.3.0'
|
|
|
|
|
|
implementation "androidx.activity:activity-ktx:1.7.2"
|
|
|
|
|
|
//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.4.0'
|
|
|
|
/*Chart*/
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4'
|
|
|
|
/*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.1.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'
|
|
|
|
/*View full image*/
|
|
// implementation 'com.github.stfalcon:frescoimageviewer:0.5.0'
|
|
|
|
// Jitsi Meet
|
|
// implementation('org.jitsi.react:jitsi-meet-sdk:2.9.3') { transitive = true }
|
|
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'
|
|
|
|
/*Razor Pay*/
|
|
/*Crash in latest version*/
|
|
implementation 'com.razorpay:checkout:1.6.33'
|
|
|
|
/*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.6'
|
|
implementation 'com.github.florent37:singledateandtimepicker:2.2.7'
|
|
|
|
/*Read More TextView*/
|
|
// implementation 'com.borjabravo:readmoretextview:2.1.0'
|
|
|
|
//recordView
|
|
//implementation 'com.devlomi.record-view:record-view:2.0.1'
|
|
|
|
//for AndroidX use:
|
|
implementation 'com.github.3llomi:RecordView:3.1.3'
|
|
|
|
|
|
/*Bmi*/
|
|
// implementation 'com.ekn.gruzer.gaugelibrary:gaugelibrary:0.1.0'
|
|
implementation 'com.github.Gruzer:simple-gauge-android:0.3.1'
|
|
// implementation 'pl.pawelkleczkowski.customgauge:CustomGauge:1.0.3'
|
|
|
|
/*Contact Picker*/
|
|
// implementation 'com.github.broakenmedia:MultiContactPicker:1.8.5'
|
|
|
|
//Twitter
|
|
// implementation('com.twitter.sdk.android:twitter:3.3.0@aar') {
|
|
// transitive = true
|
|
// }
|
|
|
|
//Volley
|
|
implementation 'com.android.volley:volley:1.2.1'
|
|
|
|
//Country code picker
|
|
implementation 'io.michaelrocks:libphonenumber-android:8.13.35'
|
|
|
|
//snap kit
|
|
implementation([
|
|
'com.snapchat.kit.sdk:login:1.12.0',
|
|
'com.snapchat.kit.sdk:core:1.12.0'
|
|
])
|
|
|
|
//AppsFlyer
|
|
implementation 'com.appsflyer:af-android-sdk:6.3.2'
|
|
implementation 'com.karumi:dexter:6.2.3'
|
|
implementation 'androidx.work:work-runtime-ktx:2.7.1'
|
|
|
|
implementation 'com.1gravity:android-contactpicker:1.4.0'
|
|
}
|
|
apply plugin: 'com.google.gms.google-services'
|
|
apply plugin: 'com.google.firebase.crashlytics'
|
|
|
|
|
|
|
|
//twitter app id 22568785
|
|
//twitter api key HnSJ2ZcDhVw2ZDCFEs1BDBwEP
|
|
//twitter secret api key qdhRPJdvdQLfoO77RLrX2fGJ0yIcjISw03D9gjnjJHI5ppac1v
|
|
//bearer token AAAAAAAAAAAAAAAAAAAAAFFfWAEAAAAAApNpmAx8ZylDKb97ygL%2BpMXMp90%3DAvKHg6q5x32bJCyVapA8NzCqDC4aRUN1pD7wQCkUcmj4df8dBM |