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'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2022-08-29 11:35:39 +08:00
|
|
|
apply from: '../mob.gradle'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
android {
|
2022-09-13 17:21:14 +08:00
|
|
|
compileSdkVersion 32
|
2020-04-02 10:43:40 +08:00
|
|
|
defaultConfig {
|
2021-12-06 18:53:52 +08:00
|
|
|
minSdkVersion 21
|
2022-09-13 17:21:14 +08:00
|
|
|
targetSdkVersion 32
|
2020-04-02 10:43:40 +08:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
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 {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
2022-09-14 10:42:43 +08:00
|
|
|
def Lombok = "1.18.18"
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
dependencies {
|
2021-05-06 12:14:21 +08:00
|
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
2022-09-14 10:42:43 +08:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
api "com.orhanobut:logger:${loggerVersion}"
|
|
|
|
|
2022-07-21 16:32:14 +08:00
|
|
|
api 'com.umeng.umsdk:common:9.5.0'// 必选
|
|
|
|
api 'com.umeng.umsdk:asms:1.4.1'// 必选
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
compileOnly "org.projectlombok:lombok:${Lombok}"
|
|
|
|
annotationProcessor "org.projectlombok:lombok:${Lombok}"
|
|
|
|
|
|
|
|
api fileTree(dir: 'share-sdk-libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
// 声网
|
2022-09-14 10:42:43 +08:00
|
|
|
api 'io.agora.rtc:full-sdk:3.6.2'
|
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
|
2022-09-14 10:42:43 +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
|
2022-09-14 10:42:43 +08:00
|
|
|
api 'androidx.room:room-rxjava2:2.3.0'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
2022-09-14 11:40:04 +08:00
|
|
|
api 'com.tencent.bugly:crashreport:4.1.9'
|
2020-06-08 20:54:09 +08:00
|
|
|
|
2022-09-26 15:42:45 +08:00
|
|
|
//firebase推送、统计
|
|
|
|
implementation 'com.google.firebase:firebase-messaging:22.0.0'
|
|
|
|
implementation 'com.google.android.gms:play-services-base:17.6.0'
|
|
|
|
implementation 'com.google.firebase:firebase-core:19.0.0'
|
|
|
|
|
|
|
|
//googleplay内购
|
|
|
|
api 'com.google.android.gms:play-services-wallet:18.1.3'
|
|
|
|
api 'com.android.billingclient:billing:4.0.0'
|
|
|
|
|
2020-04-02 10:43:40 +08:00
|
|
|
api project(':nim_uikit')
|
|
|
|
api project(':library')
|
2022-06-23 16:06:59 +08:00
|
|
|
api project(':trtc_release')
|
2021-11-24 11:33:57 +08:00
|
|
|
|
2020-07-06 18:38:23 +08:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|