2019-10-31 15:23:40 +05:30
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
2019-11-04 14:31:25 +05:30
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
2019-11-14 10:22:14 +05:30
|
|
|
|
2019-10-31 15:23:40 +05:30
|
|
|
android {
|
|
|
|
|
compileSdkVersion 29
|
|
|
|
|
buildToolsVersion "29.0.2"
|
|
|
|
|
defaultConfig {
|
2019-12-09 15:44:05 +05:30
|
|
|
applicationId "com.navi"
|
2019-10-31 15:23:40 +05:30
|
|
|
minSdkVersion 21
|
|
|
|
|
targetSdkVersion 29
|
|
|
|
|
versionCode 1
|
|
|
|
|
versionName "1.0"
|
2019-11-15 14:46:08 +05:30
|
|
|
multiDexEnabled true
|
2019-10-31 15:23:40 +05:30
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
2019-11-15 14:46:08 +05:30
|
|
|
debug {
|
|
|
|
|
versionNameSuffix "-debug"
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-31 15:23:40 +05:30
|
|
|
release {
|
2019-11-15 14:46:08 +05:30
|
|
|
minifyEnabled true
|
|
|
|
|
shrinkResources true
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2019-10-31 15:23:40 +05:30
|
|
|
}
|
|
|
|
|
}
|
2019-11-04 14:31:25 +05:30
|
|
|
dataBinding {
|
|
|
|
|
enabled true
|
|
|
|
|
}
|
2019-12-03 12:07:59 +05:30
|
|
|
|
|
|
|
|
flavorDimensions "app"
|
|
|
|
|
productFlavors {
|
|
|
|
|
qa {
|
|
|
|
|
dimension "app"
|
2019-12-09 17:23:21 +05:30
|
|
|
applicationId "com.navi.dev"
|
2019-12-03 12:07:59 +05:30
|
|
|
}
|
|
|
|
|
dev {
|
2019-12-09 15:44:05 +05:30
|
|
|
applicationId "com.navi.dev"
|
2019-12-03 12:07:59 +05:30
|
|
|
dimension "app"
|
|
|
|
|
}
|
|
|
|
|
prod {
|
|
|
|
|
dimension "app"
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-10-31 15:23:40 +05:30
|
|
|
}
|
|
|
|
|
|
2019-11-15 14:46:08 +05:30
|
|
|
ext {
|
|
|
|
|
version_retrofit = '2.6.2'
|
|
|
|
|
version_kotlin_coroutines = '1.3.2'
|
2019-11-29 17:39:25 +05:30
|
|
|
lottie_version = '3.2.2'
|
2019-11-15 14:46:08 +05:30
|
|
|
}
|
|
|
|
|
|
2019-11-22 12:15:08 +05:30
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
|
|
|
|
google()
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-31 15:23:40 +05:30
|
|
|
dependencies {
|
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2019-11-04 14:31:25 +05:30
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
|
|
implementation 'androidx.core:core-ktx:1.1.0'
|
2019-10-31 15:23:40 +05:30
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2019-11-04 16:41:28 +05:30
|
|
|
implementation "com.squareup.retrofit2:retrofit:$version_retrofit"
|
2019-11-04 19:42:58 +05:30
|
|
|
implementation "com.squareup.retrofit2:converter-gson:$version_retrofit"
|
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version_kotlin_coroutines"
|
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version_kotlin_coroutines"
|
2019-11-07 14:11:18 +05:30
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
2019-11-15 14:46:08 +05:30
|
|
|
implementation 'com.android.support:multidex:1.0.3'
|
2019-11-04 14:31:25 +05:30
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0'
|
2019-11-07 14:11:18 +05:30
|
|
|
implementation 'com.android.support:cardview-v7:29.0.2'
|
|
|
|
|
implementation 'com.android.support:design:29.0.2'
|
2019-11-12 12:13:21 +05:30
|
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
2019-11-14 10:22:14 +05:30
|
|
|
implementation 'com.navi.medici.utils:amortization:1.1-SNAPSHOT'
|
2019-11-20 14:48:00 +05:30
|
|
|
implementation 'android.arch.work:work-runtime-ktx:1.0.1'
|
2019-11-19 16:01:09 +05:30
|
|
|
implementation 'com.camerakit:camerakit:1.0.0-beta3.11'
|
|
|
|
|
implementation 'com.camerakit:jpegkit:0.1.0'
|
2019-11-27 12:30:12 +05:30
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.60'
|
2019-11-20 14:48:00 +05:30
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2'
|
2019-12-02 12:13:26 +05:30
|
|
|
implementation "com.google.android.gms:play-services-location:17.0.0"
|
2019-11-22 12:15:08 +05:30
|
|
|
implementation 'com.github.bumptech.glide:glide:4.10.0'
|
|
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
|
2020-01-08 13:53:26 +05:30
|
|
|
implementation 'com.otaliastudios:cameraview:2.6.0'
|
2019-12-03 17:01:37 +05:30
|
|
|
implementation 'com.facebook.stetho:stetho:1.5.1'
|
|
|
|
|
implementation 'com.facebook.stetho:stetho-okhttp3:1.5.1'
|
2019-12-09 17:23:21 +05:30
|
|
|
implementation 'com.google.firebase:firebase-analytics:17.2.0'
|
|
|
|
|
implementation 'com.google.firebase:firebase-database:19.2.0'
|
2019-12-23 13:00:46 +05:30
|
|
|
implementation "com.airbnb.android:lottie:$lottie_version"
|
|
|
|
|
|
2020-01-03 13:19:39 +05:30
|
|
|
// for firebase push notification
|
|
|
|
|
implementation 'com.google.firebase:firebase-messaging:20.1.0'
|
2020-01-23 17:43:39 +05:30
|
|
|
|
2020-01-13 18:17:54 +05:30
|
|
|
implementation group: 'joda-time', name: 'joda-time', version: '2.10.5'
|
2020-01-03 13:19:39 +05:30
|
|
|
|
2020-01-30 11:29:56 +05:30
|
|
|
// for razorpay payment integration
|
|
|
|
|
implementation 'com.razorpay:checkout:1.5.13'
|
|
|
|
|
|
2020-01-23 17:43:39 +05:30
|
|
|
//Appsflyer sdk integration
|
|
|
|
|
implementation 'com.appsflyer:af-android-sdk:5.1.0'
|
|
|
|
|
implementation 'com.android.installreferrer:installreferrer:1.0'
|
|
|
|
|
|
2019-12-23 13:00:46 +05:30
|
|
|
// AndroidJUnitRunner and JUnit Rules
|
|
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
|
|
|
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
2019-11-27 19:17:35 +05:30
|
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
2019-12-23 13:00:46 +05:30
|
|
|
|
|
|
|
|
// Espresso dependencies
|
2019-11-27 19:17:35 +05:30
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
2020-02-06 11:12:17 +05:30
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0'
|
2019-12-23 13:00:46 +05:30
|
|
|
|
2019-11-29 12:37:18 +05:30
|
|
|
testImplementation 'org.mockito:mockito-core:2.19.0'
|
|
|
|
|
androidTestImplementation 'android.arch.core:core-testing:1.1.1'
|
|
|
|
|
testImplementation 'android.arch.core:core-testing:1.0.0'
|
|
|
|
|
testImplementation 'org.mockito:mockito-inline:2.13.0'
|
|
|
|
|
|
2019-11-29 17:39:25 +05:30
|
|
|
implementation "com.airbnb.android:lottie:$lottie_version"
|
2020-01-30 17:09:04 +05:30
|
|
|
|
|
|
|
|
// Pdf Viewer
|
|
|
|
|
implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
|
2019-10-31 15:23:40 +05:30
|
|
|
}
|
2019-12-09 17:23:21 +05:30
|
|
|
|
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|