2020-04-02 10:43:40 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'realm-android'
|
2020-07-06 18:38:23 +08:00
|
|
|
apply plugin: 'kotlin-android'
|
2022-08-29 11:35:39 +08:00
|
|
|
apply from: '../mob.gradle'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
android {
|
2023-04-13 16:58:18 +08:00
|
|
|
compileSdkVersion COMPILE_SDK_VERSION.toInteger()
|
2020-04-02 10:43:40 +08:00
|
|
|
defaultConfig {
|
2023-04-13 16:58:18 +08:00
|
|
|
minSdkVersion MIN_SDK_VERSION.toInteger()
|
|
|
|
targetSdkVersion TARGET_SDK_VERSION.toInteger()
|
2020-04-24 15:14:59 +08:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2023-03-06 19:30:25 +08:00
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|
|
|
|
|
2023-03-14 11:23:00 +08:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "11"
|
|
|
|
}
|
|
|
|
|
2020-04-02 10:43:40 +08:00
|
|
|
sourceSets {
|
2021-08-18 17:22:44 +08:00
|
|
|
main {
|
2020-04-02 10:43:40 +08:00
|
|
|
java.srcDirs = [
|
|
|
|
'src/main/java',
|
|
|
|
'src/diff_src_erban/java',
|
|
|
|
'src/model_smscode/java',
|
|
|
|
'src/model_public_chat_hall/java',
|
|
|
|
'src/model_pay/java',
|
|
|
|
'src/model_upgrade_app/java',
|
|
|
|
'src/model_labour_union/java',
|
|
|
|
'src/model_mentoring_relationship/java',
|
|
|
|
'src/model_music/java',
|
|
|
|
'src/model_database_room/java',
|
|
|
|
'src/model_mini_world/java',
|
|
|
|
'src/model_bank_card/java',
|
|
|
|
'src/model_super_admin/java',
|
|
|
|
'src/model_treasure_box/java',
|
|
|
|
'src/model_community/java',
|
|
|
|
'src/model_channel_page/java'
|
|
|
|
|
|
|
|
]
|
2021-07-26 21:00:24 +08:00
|
|
|
jniLibs.srcDirs = ['libs', 'umeng-app-libs/jniLibs']
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-20 10:27:23 +08:00
|
|
|
buildToolsVersion = '30.0.3'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-04-24 15:14:59 +08:00
|
|
|
def loggerVersion = "2.2.0"
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
dependencies {
|
2021-05-06 12:14:21 +08:00
|
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
2021-01-05 11:51:57 +08:00
|
|
|
testImplementation 'junit:junit:4.13.1'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
api "com.orhanobut:logger:${loggerVersion}"
|
|
|
|
|
2024-01-12 15:20:13 +08:00
|
|
|
// api 'com.umeng.umsdk:common:9.5.2'// 必选
|
|
|
|
// api 'com.umeng.umsdk:asms:1.4.1'// 必选
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
api fileTree(dir: 'share-sdk-libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
// 声网
|
2023-11-06 15:47:26 +08:00
|
|
|
api 'io.agora.rtc:voice-sdk:4.2.3'
|
2021-04-15 18:45:27 +08:00
|
|
|
|
2020-04-02 10:43:40 +08:00
|
|
|
// core
|
|
|
|
implementation 'com.liulishuo.okdownload:okdownload:1.0.4'
|
|
|
|
// provide sqlite to store breakpoints
|
|
|
|
implementation 'com.liulishuo.okdownload:sqlite:1.0.4'
|
|
|
|
// provide okhttp to connect to backend
|
|
|
|
implementation 'com.liulishuo.okdownload:okhttp:1.0.4'
|
|
|
|
// Room
|
2023-03-06 19:30:25 +08:00
|
|
|
api 'androidx.room:room-runtime:2.3.0'
|
|
|
|
annotationProcessor 'androidx.room:room-compiler:2.3.0'
|
2020-04-02 10:43:40 +08:00
|
|
|
// RxJava support for Room
|
2023-03-06 19:30:25 +08:00
|
|
|
api 'androidx.room:room-rxjava2:2.3.0'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
api project(':nim_uikit')
|
|
|
|
api project(':library')
|
2023-12-22 16:24:20 +08:00
|
|
|
// api project(':trtc_release')
|
|
|
|
api 'com.tencent.liteav:LiteAVSDK_TRTC:11.4.0.13189'
|
2021-11-24 11:33:57 +08:00
|
|
|
|
2024-01-12 14:08:23 +08:00
|
|
|
//fireBase
|
|
|
|
implementation platform('com.google.firebase:firebase-bom:32.3.1')
|
|
|
|
implementation 'com.google.firebase:firebase-crashlytics-ktx'
|
|
|
|
implementation 'com.google.firebase:firebase-analytics-ktx'
|
2024-01-15 19:30:19 +08:00
|
|
|
|
|
|
|
api 'com.android.billingclient:billing:6.0.1'
|
2024-01-16 19:06:46 +08:00
|
|
|
api 'com.qcloud.cos:cos-android:5.9.23'
|
2020-07-06 18:38:23 +08:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|