mirror of
https://github.com/hmalik144/Driver.git
synced 2026-01-31 02:41:46 +00:00
93 lines
3.4 KiB
Groovy
93 lines
3.4 KiB
Groovy
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 28
|
|
defaultConfig {
|
|
applicationId "h_mal.appttude.com.driver"
|
|
minSdkVersion 24
|
|
targetSdkVersion 28
|
|
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"
|
|
}
|
|
|
|
}
|
|
|
|
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.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'
|
|
}
|