a
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'kotlin-android'
|
||||
id 'kotlin-kapt'
|
||||
id 'kotlin-parcelize'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk compile_sdk_version
|
||||
|
||||
defaultConfig {
|
||||
minSdk min_sdk_version
|
||||
targetSdk target_sdk_version
|
||||
versionCode version_code
|
||||
versionName version_name
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility java_version
|
||||
targetCompatibility java_version
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "androidx.core:core-ktx:$core_ktx_version"
|
||||
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
||||
|
||||
//retrofit
|
||||
api "com.squareup.retrofit2:retrofit:$retrofit_version"
|
||||
api "com.squareup.retrofit2:converter-gson:$retrofit_version"
|
||||
|
||||
//okHttp
|
||||
api "com.squareup.okhttp3:okhttp:$okhttp_version"
|
||||
|
||||
//paging3
|
||||
api "androidx.paging:paging-runtime:$paging_version"
|
||||
api "androidx.paging:paging-compose:$paging_compose_version"
|
||||
|
||||
//数据保存,这里用于cookie持久化
|
||||
api "androidx.datastore:datastore-preferences:$datastore_version"
|
||||
}
|
||||
Reference in New Issue
Block a user