mirror of
https://github.com/hmalik144/Candy_Space_tech_test.git
synced 2025-12-10 03:05:27 +00:00
76 lines
2.5 KiB
Groovy
76 lines
2.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "com.example.h_mal.candyspace"
|
|
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.2.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.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.2.0'
|
|
//mockito and livedata testing
|
|
testImplementation 'org.mockito:mockito-inline:2.13.0'
|
|
implementation 'android.arch.core:core-testing'
|
|
|
|
//Retrofit and GSON
|
|
implementation 'com.squareup.retrofit2:retrofit:2.6.0'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
|
|
|
|
//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.2.0"
|
|
|
|
//New Material Design
|
|
implementation 'com.google.android.material:material:1.2.0-alpha06'
|
|
|
|
//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"
|
|
|
|
//recycler view item data binding
|
|
implementation 'com.xwray:groupie:2.3.0'
|
|
implementation 'com.xwray:groupie-kotlin-android-extensions:2.3.0'
|
|
implementation 'com.xwray:groupie-databinding:2.3.0'
|
|
|
|
implementation "androidx.preference:preference-ktx:1.1.0"
|
|
|
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
}
|