material
def material_version = "1.3.0-alpha01"
implementation "com.google.android.material:material:$material_version"
gilde
def glide_version = "4.11.0"
implementation "com.github.bumptech.glide:glide:$glide_version"
def glide_transformations_version = "4.0.0"
implementation "jp.wasabeef:glide-transformations:$glide_transformations_version"
lifecycle
def lifecycle_version = "2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
androidx.fragment
def fragment_version = "1.2.5"
implementation "androidx.fragment:fragment-ktx:$fragment_version"
paging
def paging_version = "2.1.2"
implementation "androidx.paging:paging-runtime-ktx:$paging_version"
room
def room_version = "2.2.5"
implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"
kotlin coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"
util
implementation "com.blankj:utilcodex:1.26.0"
implementation 'com.google.code.gson:gson:2.8.6'
implementation "com.jakewharton.timber:timber:4.7.1"
http
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.okhttp3:okhttp:4.7.2'
implementation 'com.squareup.okhttp3:logging-interceptor:4.7.2'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
rxhttp(https://github.com/liujingxing/okhttp-RxHttp)
apply plugin: 'kotlin-kapt'
android {
compileOptions {
sourceCompatibility JavaVersion. VERSION_1_8
targetCompatibility JavaVersion. VERSION_1_8
}
}
dependencies {
implementation 'com.ljx.rxhttp:rxhttp:2.5.5'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.5'
}
Leakcanary
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.4'