apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'com.google.gms.google-services' // kotlin kapt apply plugin: 'kotlin-kapt' // Android navigation apply plugin: 'androidx.navigation.safeargs' repositories { mavenCentral() } android { compileSdkVersion 30 defaultConfig { applicationId "h_mal.appttude.com" minSdkVersion 24 targetSdkVersion 30 versionCode 6 versionName "1.6" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } flavorDimensions "Default" productFlavors { driver { applicationIdSuffix ".driver" versionCode 6 versionName "1.0.5" } admin { applicationIdSuffix ".driver_admin" versionCode 4 versionName "0.0.5" } } sourceSets { driver { manifest { srcFile 'src/driver/AndroidManifest.xml' } } admin { manifest { srcFile 'src/driver_admin/AndroidManifest.xml' } } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "androidx.appcompat:appcompat:1.0.0" implementation "com.google.android.material:material:1.0.0" implementation "androidx.cardview:cardview:1.0.0" implementation "androidx.legacy:legacy-support-v4:1.0.0" implementation "androidx.exifinterface:exifinterface:1.0.0" implementation "androidx.constraintlayout:constraintlayout:1.1.3" implementation "androidx.fragment:fragment-ktx:1.2.5" implementation "androidx.activity:activity-ktx:1.2.0" implementation "androidx.recyclerview:recyclerview:1.1.0" implementation "androidx.navigation:navigation-fragment-ktx:2.3.3" implementation "androidx.navigation:navigation-ui-ktx:2.3.3" implementation "androidx.drawerlayout:drawerlayout:1.1.1" implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0" implementation 'androidx.viewpager:viewpager:1.0.0' testImplementation "junit:junit:4.12" androidTestImplementation "androidx.test.ext:junit:1.1.1" androidTestImplementation "androidx.test.espresso:espresso-core:3.1.0" androidTestImplementation "androidx.test:rules:1.1.1" implementation 'androidx.test.espresso:espresso-idling-resource:3.1.1' implementation "androidx.legacy:legacy-support-v4:1.0.0" // Google play services implementation "com.google.android.gms:play-services-auth:15.0.1" // Google firebase def firebaseVer = "16.0.1" implementation "com.google.firebase:firebase-core:$firebaseVer" implementation "com.google.firebase:firebase-auth:$firebaseVer" implementation "com.google.firebase:firebase-storage:$firebaseVer" implementation "com.google.firebase:firebase-database:$firebaseVer" // Photoviewer implementation "com.github.chrisbanes:PhotoView:2.1.0" /* Picasso photo loader */ implementation "com.squareup.picasso:picasso:2.71828" /* Gson */ implementation "com.google.code.gson:gson:2.3.1" /* coroutines support for firebase operations */ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.1.1" // Circle Image View implementation "com.mikhaellopez:circularimageview:4.2.0" //Kodein Dependency Injection def kodein_version = "6.2.1" implementation "org.kodein.di:kodein-di-generic-jvm:$kodein_version" implementation "org.kodein.di:kodein-di-framework-android-x:$kodein_version" /* Image Carousal */ implementation 'com.synnapps:carouselview:0.1.5' / * Glide */ implementation 'com.github.bumptech.glide:glide:4.12.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' }