mirror of
https://github.com/hmalik144/DaysLeft.git
synced 2025-12-10 03:05:29 +00:00
107 lines
4.0 KiB
Groovy
107 lines
4.0 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
// kotlin kapt
|
|
apply plugin: 'kotlin-kapt'
|
|
// google services
|
|
apply plugin: 'com.google.gms.google-services'
|
|
// Android navigation
|
|
apply plugin: 'androidx.navigation.safeargs'
|
|
|
|
apply plugin: 'com.google.firebase.crashlytics'
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "com.appttude.h_mal.days_left"
|
|
minSdkVersion 21
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
// To inline the bytecode built with JVM target 1.8 into
|
|
// bytecode that is being built with JVM target 1.6. (e.g. navArgs)
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.core:core-ktx:1.3.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"
|
|
// implementation "androidx.activity:activity-ktx:1.3.0-alpha05"
|
|
implementation "androidx.fragment:fragment-ktx:1.3.0-alpha05"
|
|
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'androidx.exifinterface:exifinterface:1.2.0'
|
|
implementation 'com.google.android.material:material:1.1.0'
|
|
|
|
// Android navigation
|
|
def nav_version = "2.3.0"
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
|
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
|
// Feature module Support
|
|
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
|
|
// Testing
|
|
testImplementation 'junit:junit:4.13'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
// Crashlytics
|
|
implementation 'com.google.firebase:firebase-crashlytics:17.1.1'
|
|
implementation 'com.google.firebase:firebase-analytics:17.4.4'
|
|
|
|
// Gson
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
|
// Google Play Services
|
|
implementation 'com.google.android.gms:play-services-auth:18.1.0'
|
|
// Firebase
|
|
implementation 'com.google.firebase:firebase-core:17.4.4'
|
|
implementation 'com.google.firebase:firebase-auth:19.3.2'
|
|
implementation 'com.google.firebase:firebase-storage:19.1.1'
|
|
implementation 'com.google.firebase:firebase-database:19.3.1'
|
|
implementation 'com.firebaseui:firebase-ui-database:1.1.1'
|
|
implementation 'com.google.firebase:firebase-functions:19.0.2'
|
|
implementation 'com.google.firebase:firebase-firestore-ktx:21.6.0'
|
|
/* coroutines support for firebase operations */
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.1.1'
|
|
|
|
//Picasso - load images
|
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
// Zoomable Image view
|
|
implementation 'com.github.chrisbanes:PhotoView:2.1.0'
|
|
//Kodein Dependency Injection
|
|
implementation "org.kodein.di:kodein-di-generic-jvm:6.2.1"
|
|
implementation "org.kodein.di:kodein-di-framework-android-x:6.2.1"
|
|
|
|
// Excel (legacy)
|
|
implementation "com.github.SUPERCILEX.poi-android:poi:3.17"
|
|
|
|
}
|