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'
|
2023-09-14 17:52:40 +08:00
|
|
|
namespace 'com.nnbc123.core'
|
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}"
|
|
|
|
|
2022-08-29 17:43:56 +08:00
|
|
|
api 'com.umeng.umsdk:common:9.5.2'// 必选
|
2022-07-21 16:32:14 +08:00
|
|
|
api 'com.umeng.umsdk:asms:1.4.1'// 必选
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
api fileTree(dir: 'share-sdk-libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
// 支付
|
|
|
|
api fileTree(dir: 'alipay-libs', include: ['*.jar'])
|
2023-03-06 19:30:25 +08:00
|
|
|
api 'com.tencent.mm.opensdk:wechat-sdk-android:+'
|
2020-04-02 10:43:40 +08:00
|
|
|
|
|
|
|
// 声网
|
2020-06-18 14:53:53 +08:00
|
|
|
api 'io.agora.rtc:full-sdk:3.0.1'
|
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
|
|
|
|
2023-03-06 19:30:25 +08:00
|
|
|
api 'com.tencent.bugly:crashreport_upgrade:1.6.1'
|
2021-12-22 12:46:50 +08:00
|
|
|
api 'com.tencent.bugly:nativecrashreport:3.9.2'
|
2020-06-08 20:54:09 +08:00
|
|
|
|
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
|
|
|
|
2023-03-15 17:59:52 +08:00
|
|
|
api 'com.alipay.sdk:alipaysdk-android:+@aar'
|
|
|
|
|
2020-07-06 18:38:23 +08:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2020-04-02 10:43:40 +08:00
|
|
|
}
|