107 lines
3.2 KiB
Groovy
107 lines
3.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'realm-android'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
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']
|
|
}
|
|
}
|
|
|
|
buildToolsVersion = '30.0.3'
|
|
|
|
}
|
|
|
|
def loggerVersion = "2.2.0"
|
|
def Lombok = "1.18.10"
|
|
|
|
dependencies {
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
testImplementation 'junit:junit:4.13.1'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
api "com.orhanobut:logger:${loggerVersion}"
|
|
|
|
api 'com.umeng.umsdk:common:9.5.0'// 必选
|
|
api 'com.umeng.umsdk:asms:1.4.1'// 必选
|
|
|
|
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'
|
|
|
|
// 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
|
|
api 'androidx.room:room-runtime:2.2.5'
|
|
annotationProcessor 'androidx.room:room-compiler:2.2.5'
|
|
// RxJava support for Room
|
|
api 'androidx.room:room-rxjava2:2.2.5'
|
|
|
|
api 'com.tencent.bugly:crashreport_upgrade:1.5.23'
|
|
api 'com.tencent.bugly:nativecrashreport:3.9.2'
|
|
|
|
api project(':nim_uikit')
|
|
api project(':library')
|
|
api project(':agora-ktv-kit-release')
|
|
api project(':trtc_release')
|
|
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|