mirror of
https://github.com/hmalik144/Android-developer-tech-test---Superawesome.git
synced 2025-12-10 03:05:29 +00:00
60 lines
1.9 KiB
Groovy
60 lines
1.9 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
defaultConfig {
|
|
applicationId "com.example.h_mal.superawesomefilereader"
|
|
minSdkVersion 24
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
}
|
|
|
|
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.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
|
|
|
|
//Kotlin Coroutines
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0"
|
|
|
|
// ViewModel and LiveData
|
|
implementation "androidx.lifecycle:lifecycle-extensions: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"
|
|
|
|
//Android Room
|
|
implementation "androidx.room:room-runtime:2.2.0-rc01"
|
|
implementation "androidx.room:room-ktx:2.2.0-rc01"
|
|
kapt "androidx.room:room-compiler:2.2.0-rc01"
|
|
|
|
|
|
}
|