mirror of
https://github.com/hmalik144/android-technical-task-moneybox.git
synced 2025-12-10 03:05:21 +00:00
77 lines
2.6 KiB
Groovy
77 lines
2.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "com.example.minimoneybox"
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
targetCompatibility = 1.8
|
|
sourceCompatibility = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
|
implementation 'androidx.legacy:legacy-support-v4: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'
|
|
implementation 'com.airbnb.android:lottie:2.7.0'
|
|
androidTestImplementation 'androidx.test:rules:1.1.1'
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
|
//mock websever for testing retrofit responses
|
|
testImplementation("com.squareup.okhttp3:mockwebserver:4.6.0")
|
|
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
|
|
|
//mockito and livedata testing
|
|
testImplementation 'org.mockito:mockito-inline:2.13.0'
|
|
testImplementation 'androidx.arch.core:core-testing:2.1.0'
|
|
|
|
//Retrofit and GSON
|
|
implementation 'com.squareup.retrofit2:retrofit:2.8.1'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.8.1'
|
|
|
|
//Kotlin Coroutines
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.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"
|
|
|
|
//security for secured preferences
|
|
implementation "androidx.security:security-crypto:1.0.0-rc01"
|
|
|
|
//keystore preferences wrapper
|
|
implementation 'online.devliving:securedpreferencestore:0.7.4'
|
|
|
|
}
|