2020-04-02 10:43:40 +08:00
|
|
|
apply plugin: 'com.android.library'
|
2020-07-06 18:38:23 +08:00
|
|
|
apply plugin: 'kotlin-android'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
android {
|
2022-11-15 20:45:46 +08:00
|
|
|
compileSdkVersion COMPILE_SDK_VERSION.toInteger()
|
2020-04-02 10:43:40 +08:00
|
|
|
defaultConfig {
|
2022-11-15 20:45:46 +08:00
|
|
|
minSdkVersion MIN_SDK_VERSION.toInteger()
|
|
|
|
targetSdkVersion TARGET_SDK_VERSION.toInteger()
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2023-01-31 17:01:56 +08:00
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '11'
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dataBinding {
|
|
|
|
enabled = true
|
|
|
|
}
|
2022-11-17 15:35:31 +08:00
|
|
|
viewBinding {
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
|
|
|
main {
|
|
|
|
java.srcDirs = [
|
|
|
|
'src/main/java',
|
|
|
|
'src/module_easypermission/java',
|
|
|
|
'src/module_luban/java',
|
|
|
|
'src/module_easyphoto/java',
|
2022-11-17 21:06:38 +08:00
|
|
|
'src/module_common/java',
|
2022-11-17 15:35:31 +08:00
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
res.srcDirs = [
|
|
|
|
'src/main/res',
|
|
|
|
'src/module_easypermission/res',
|
|
|
|
'src/module_easyphoto/res',
|
2022-11-17 21:06:38 +08:00
|
|
|
'src/module_common/res',
|
2022-11-17 15:35:31 +08:00
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2021-12-20 10:27:23 +08:00
|
|
|
buildToolsVersion = '30.0.3'
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-10-08 18:13:49 +08:00
|
|
|
def qiniu = "8.4.4"
|
2020-04-02 10:43:40 +08:00
|
|
|
def SmartRefreshLayoutVersion = "1.0.3"
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
2021-01-05 11:51:57 +08:00
|
|
|
api 'androidx.cardview:cardview:1.0.0'
|
|
|
|
api 'androidx.gridlayout:gridlayout:1.0.0'
|
2023-11-27 17:03:31 +08:00
|
|
|
api "androidx.fragment:fragment:1.6.1"
|
|
|
|
api "androidx.fragment:fragment-ktx:1.6.1"
|
2020-04-02 10:43:40 +08:00
|
|
|
|
2023-11-27 17:03:31 +08:00
|
|
|
api "com.squareup.retrofit2:retrofit:2.9.0"
|
|
|
|
api "com.squareup.okhttp3:okhttp:4.10.0"
|
|
|
|
api "com.squareup.okhttp3:logging-interceptor:4.10.0"
|
|
|
|
api "com.squareup.okio:okio:3.0.0"
|
2020-04-02 10:43:40 +08:00
|
|
|
|
2023-11-27 17:03:31 +08:00
|
|
|
api "com.squareup.retrofit2:adapter-rxjava2:2.3.0"
|
2022-09-14 16:22:48 +08:00
|
|
|
api 'com.google.code.gson:gson:2.9.0'
|
|
|
|
|
2020-04-02 10:43:40 +08:00
|
|
|
api "com.scwang.smartrefresh:SmartRefreshLayout:${SmartRefreshLayoutVersion}"
|
|
|
|
api "com.scwang.smartrefresh:SmartRefreshHeader:${SmartRefreshLayoutVersion}"
|
|
|
|
|
2023-11-27 17:03:31 +08:00
|
|
|
api "io.reactivex.rxjava2:rxjava:2.2.12"
|
|
|
|
api "io.reactivex.rxjava2:rxandroid:2.1.1"
|
|
|
|
api "com.trello.rxlifecycle3:rxlifecycle:3.1.0"
|
|
|
|
api "com.trello.rxlifecycle3:rxlifecycle-android:3.1.0"
|
|
|
|
api "com.trello.rxlifecycle3:rxlifecycle-components:3.1.0"
|
|
|
|
api "com.github.bumptech.glide:glide:4.13.2"
|
|
|
|
annotationProcessor "com.github.bumptech.glide:compiler:4.13.2"
|
2020-04-02 10:43:40 +08:00
|
|
|
|
2023-11-27 17:03:31 +08:00
|
|
|
api "com.orhanobut:logger:2.2.0"
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
api "com.qiniu:qiniu-android-sdk:${qiniu}"
|
|
|
|
|
2023-11-27 17:03:31 +08:00
|
|
|
api "org.greenrobot:eventbus:3.3.1"
|
2023-10-10 17:54:47 +08:00
|
|
|
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
2020-04-02 10:43:40 +08:00
|
|
|
|
2023-01-04 20:38:31 +08:00
|
|
|
api 'com.github.getActivity:ToastUtils:10.5'
|
2021-11-16 15:00:41 +08:00
|
|
|
|
2022-11-17 15:35:31 +08:00
|
|
|
api 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
api 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'
|
|
|
|
api 'com.github.chrisbanes:PhotoView:2.3.0'
|
|
|
|
|
2022-12-01 20:35:52 +08:00
|
|
|
//mmkv
|
|
|
|
api 'com.tencent:mmkv:1.2.13'
|
|
|
|
|
2023-11-27 17:03:31 +08:00
|
|
|
api "jp.wasabeef:glide-transformations:3.0.1"
|
2022-12-01 20:35:52 +08:00
|
|
|
|
2023-02-17 09:30:40 +08:00
|
|
|
//流式布局
|
|
|
|
api 'com.google.android.flexbox:flexbox:3.0.0'
|
|
|
|
|
2023-03-07 19:33:02 +08:00
|
|
|
api 'io.github.razerdp:BasePopup:3.2.1'
|
|
|
|
|
2023-03-14 15:20:06 +08:00
|
|
|
api 'com.umeng.sdk:utdid:1.1.5.3'
|
|
|
|
|
2023-11-15 19:21:09 +08:00
|
|
|
// api 'com.facebook.android:facebook-android-sdk:16.2.0'
|
|
|
|
// api 'com.facebook.android:facebook-login:16.2.0'
|
2023-08-16 23:57:28 +08:00
|
|
|
|
2023-10-25 16:56:05 +08:00
|
|
|
// 网络请求chrome数据调试
|
2023-11-23 10:41:06 +08:00
|
|
|
// api 'com.facebook.stetho:stetho:1.5.1'
|
|
|
|
// api 'com.facebook.stetho:stetho-okhttp3:1.5.1'
|
2023-11-22 21:35:05 +08:00
|
|
|
|
|
|
|
api project(':libs:lib_utils')
|
|
|
|
api project(':libs:lib_core')
|
2023-12-04 13:34:36 +08:00
|
|
|
api project(':libs:lib_encrypt')
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|
2020-07-06 18:38:23 +08:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|