190 lines
5.7 KiB
Groovy
190 lines
5.7 KiB
Groovy
|
|
plugins {
|
|||
|
|
id 'com.android.library'
|
|||
|
|
id 'kotlin-android'
|
|||
|
|
id 'kotlin-kapt'
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
apply plugin: 'kotlin-android-extensions'
|
|||
|
|
|
|||
|
|
android {
|
|||
|
|
compileSdkVersion 30
|
|||
|
|
buildToolsVersion "30.0.2"
|
|||
|
|
|
|||
|
|
defaultConfig {
|
|||
|
|
minSdkVersion 22
|
|||
|
|
targetSdkVersion 30
|
|||
|
|
versionCode 1
|
|||
|
|
versionName "1.0"
|
|||
|
|
dataBinding {
|
|||
|
|
//noinspection DataBindingWithoutKapt
|
|||
|
|
enabled = true
|
|||
|
|
}
|
|||
|
|
javaCompileOptions {
|
|||
|
|
annotationProcessorOptions {
|
|||
|
|
arguments = [AROUTER_MODULE_NAME: project.getName()]
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
buildTypes {
|
|||
|
|
release {
|
|||
|
|
minifyEnabled true
|
|||
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
compileOptions {
|
|||
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|||
|
|
targetCompatibility JavaVersion.VERSION_11
|
|||
|
|
}
|
|||
|
|
kotlinOptions {
|
|||
|
|
jvmTarget = '1.8'
|
|||
|
|
}
|
|||
|
|
sourceSets {
|
|||
|
|
main {
|
|||
|
|
jni.srcDirs = []
|
|||
|
|
jniLibs.srcDirs = ['src/main/libs']
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
repositories { flatDir { dirs 'libs' } }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
dependencies {
|
|||
|
|
|
|||
|
|
api fileTree(dir: 'src/main/libs', include: ['*.jar', '*.aar'])
|
|||
|
|
api fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
|||
|
|
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|||
|
|
|
|||
|
|
// api 'com.baidu.lbsyun:BaiduMapSDK_Location_All:9.1.8'
|
|||
|
|
// api 'com.baidu.lbsyun:BaiduMapSDK_Map:7.4.0'
|
|||
|
|
|
|||
|
|
|
|||
|
|
implementation project(path:':LocalAar:alipaySdk')
|
|||
|
|
implementation project(path:':LocalAar:paytypelibrary')
|
|||
|
|
|
|||
|
|
api 'androidx.core:core-ktx:1.2.0'
|
|||
|
|
api 'androidx.appcompat:appcompat:1.1.0'
|
|||
|
|
api 'com.google.android.material:material:1.1.0'
|
|||
|
|
api 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|||
|
|
api 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'
|
|||
|
|
api 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'
|
|||
|
|
api 'androidx.navigation:navigation-fragment-ktx:2.2.2'
|
|||
|
|
api 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|||
|
|
api 'androidx.navigation:navigation-ui-ktx:2.2.2'
|
|||
|
|
|
|||
|
|
api 'com.blankj:utilcodex:1.31.1'
|
|||
|
|
api 'com.google.zxing:core:3.2.1'
|
|||
|
|
//协程
|
|||
|
|
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1'
|
|||
|
|
api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1'
|
|||
|
|
//retrofit + okHttp3
|
|||
|
|
api 'com.squareup.retrofit2:retrofit:2.6.0'
|
|||
|
|
api 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
|
|||
|
|
api 'com.squareup.retrofit2:converter-gson:2.6.0'
|
|||
|
|
api 'com.squareup.okhttp3:logging-interceptor:3.10.0'
|
|||
|
|
api 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
|
|||
|
|
api 'com.github.zhengpengzheng:FlycoTabLayout:1.0'
|
|||
|
|
api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
|
|||
|
|
|
|||
|
|
api 'com.alibaba:arouter-api:1.4.1'
|
|||
|
|
kapt 'com.alibaba:arouter-compiler:1.2.2'
|
|||
|
|
|
|||
|
|
//想使用 Glide 请依赖 arms-imageloader-glide 扩展库, 使用方式请看 #4.1
|
|||
|
|
api 'me.jessyan:arms-imageloader-glide:2.5.0'
|
|||
|
|
api 'com.youth.banner:banner:1.4.10'
|
|||
|
|
api "jp.wasabeef:glide-transformations:2.0.1"
|
|||
|
|
|
|||
|
|
api 'com.github.tbruyelle:rxpermissions:0.10.2'
|
|||
|
|
api 'io.reactivex.rxjava2:rxjava:2.2.3'
|
|||
|
|
|
|||
|
|
api 'org.litepal.android:java:3.0.0'
|
|||
|
|
|
|||
|
|
api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.47'
|
|||
|
|
|
|||
|
|
api 'com.makeramen:roundedimageview:2.3.0' //带圆角,边框的的ImageView
|
|||
|
|
|
|||
|
|
// api 'com.tencent.tbs.tbssdk:sdk:43903'
|
|||
|
|
|
|||
|
|
api 'com.cysion:ImagePicker:1.2.0.x'
|
|||
|
|
|
|||
|
|
api 'com.contrarywind:Android-PickerView:4.1.8'
|
|||
|
|
|
|||
|
|
|
|||
|
|
api 'com.baoyz.actionsheet:library:1.1.7'
|
|||
|
|
|
|||
|
|
|
|||
|
|
api 'com.github.yyued:SVGAPlayer-Android:2.4.6'
|
|||
|
|
|
|||
|
|
|
|||
|
|
api 'com.alibaba:fastjson:1.2.44'
|
|||
|
|
|
|||
|
|
api 'com.afollestad.material-dialogs:core:0.9.6.0'
|
|||
|
|
|
|||
|
|
|
|||
|
|
api 'com.hyman:flowlayout-lib:1.1.2'
|
|||
|
|
|
|||
|
|
api 'org.greenrobot:eventbus:3.1.1'
|
|||
|
|
|
|||
|
|
//轮播图点
|
|||
|
|
api 'me.relex:circleindicator:1.3.2'
|
|||
|
|
|
|||
|
|
api 'com.kaopiz:kprogresshud:1.2.0'
|
|||
|
|
|
|||
|
|
api "org.java-websocket:Java-WebSocket:1.4.0"
|
|||
|
|
api 'top.zibin:Luban:1.1.8'
|
|||
|
|
|
|||
|
|
// 基础依赖包,必须要依赖
|
|||
|
|
api 'com.gyf.immersionbar:immersionbar:3.0.0'
|
|||
|
|
// fragment快速实现(可选)
|
|||
|
|
api 'com.gyf.immersionbar:immersionbar-components:3.0.0'
|
|||
|
|
// kotlin扩展(可选)
|
|||
|
|
api 'com.gyf.immersionbar:immersionbar-ktx:3.0.0'
|
|||
|
|
|
|||
|
|
api 'com.zhy:okhttputils:2.6.2'
|
|||
|
|
api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
|
|||
|
|
api 'com.kongzue.dialog_v3:dialog:3.2.5'
|
|||
|
|
api 'com.github.gittjy:LoadingDialog:1.0.2'
|
|||
|
|
//QMUI
|
|||
|
|
api 'com.qmuiteam:qmui:1.2.0'
|
|||
|
|
api 'com.hyman:flowlayout-lib:1.1.2'
|
|||
|
|
// api 'com.github.Liberuman:ShadowDrawable:0.1'
|
|||
|
|
|
|||
|
|
//bugly
|
|||
|
|
api 'com.tencent.bugly:crashreport:4.1.9.3'
|
|||
|
|
|
|||
|
|
// 声网三大件
|
|||
|
|
api 'io.agora.rtc:agora-special-full:4.1.1.23'
|
|||
|
|
api 'com.github.agorabuilder:rtm-sdk:1.4.10'
|
|||
|
|
api 'com.github.AgoraIO-Community:LyricsView:1.1.1'
|
|||
|
|
|
|||
|
|
//录音
|
|||
|
|
api 'com.github.zhaolewei:ZlwAudioRecorder:1.0.6'
|
|||
|
|
api "com.nostra13.universalimageloader:universal-image-loader:1.9.5"
|
|||
|
|
|
|||
|
|
api 'com.beloo.widget:ChipsLayoutManager:0.3.7@aar'
|
|||
|
|
|
|||
|
|
// api "com.egame.vap:animplayer:2.0.6"
|
|||
|
|
api "io.github.tencent:vap:2.0.28"
|
|||
|
|
api('com.github.bumptech.glide:glide:4.12.0') {
|
|||
|
|
exclude group: 'com.github.bumptech.glide'
|
|||
|
|
}
|
|||
|
|
api project(':Muti-Barrage')
|
|||
|
|
api 'com.teprinciple:updateapputils:2.3.0'
|
|||
|
|
api 'me.jessyan:autosize:1.2.1'
|
|||
|
|
api 'org.linwg1988:lcardview:1.5.4'
|
|||
|
|
|
|||
|
|
api 'com.github.FlyJingFish:GradientTextView:1.2.0'
|
|||
|
|
api 'io.github.lucksiege:pictureselector:v3.11.1'
|
|||
|
|
api 'com.ruffian.library:RTextView:1.0.11'
|
|||
|
|
api 'com.github.Yuphee:RewardLayout:1.0.6.4'
|
|||
|
|
api 'com.github.xuexiangjys:XUpdate:2.1.4'
|
|||
|
|
api 'com.github.xuexiangjys:XUI:1.2.1'
|
|||
|
|
|
|||
|
|
api 'androidx.multidex:multidex:2.0.0'
|
|||
|
|
api 'com.gyf.cactus:cactus:1.1.3-beta13'
|
|||
|
|
|
|||
|
|
api 'com.github.princekin-f:EasyFloat:2.0.4'
|
|||
|
|
|
|||
|
|
// 其他依赖...
|
|||
|
|
api "androidx.work:work-runtime-ktx:2.8.1"
|
|||
|
|
|
|||
|
|
}
|