Files
yinmeng-android/core/build.gradle

106 lines
3.1 KiB
Groovy
Raw Normal View History

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-02-08 16:41:37 +08:00
compileSdkVersion 31
2020-04-02 10:43:40 +08:00
defaultConfig {
minSdkVersion 21
2020-04-02 16:20:03 +08:00
targetSdkVersion 29
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'
]
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-11-03 19:21:49 +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'])
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
compileOnly "org.projectlombok:lombok:${Lombok}"
annotationProcessor "org.projectlombok:lombok:${Lombok}"
api fileTree(dir: 'share-sdk-libs', include: ['*.jar'])
// 支付
api fileTree(dir: 'alipay-libs', include: ['*.jar'])
api 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.6'
// 声网
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
2020-04-24 15:14:59 +08:00
api 'androidx.room:room-runtime:2.2.5'
annotationProcessor 'androidx.room:room-compiler:2.2.5'
2020-04-02 10:43:40 +08:00
// RxJava support for Room
2020-04-24 15:14:59 +08:00
api 'androidx.room:room-rxjava2:2.2.5'
2020-04-02 10:43:40 +08:00
2021-11-30 18:43:39 +08:00
api 'com.tencent.bugly:crashreport_upgrade:1.5.23'
2021-12-22 12:46:50 +08:00
api 'com.tencent.bugly:nativecrashreport:3.9.2'
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
}