jncultural/modulemain/build.gradle

113 lines
5.3 KiB
Groovy
Raw Normal View History

2020-05-27 13:32:22 +08:00
if (!IsModuleDev.toBoolean()) {
apply plugin: 'com.android.application'
} else {
apply plugin: 'com.android.library'
}
apply plugin: 'com.jakewharton.butterknife'
2020-06-08 10:09:08 +08:00
apply plugin: 'android-aspectjx'
2020-07-14 17:22:58 +08:00
2020-05-27 13:32:22 +08:00
android {
buildToolsVersion rootProject.ext.gBuildToolsVersion
compileSdkVersion rootProject.ext.gCompileSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.gMinSdkVersion
targetSdkVersion rootProject.ext.gCompileSdkVersion
versionCode rootProject.ext.gVersionCode
versionName rootProject.ext.gVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = [AROUTER_MODULE_NAME: project.getName()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
2020-07-30 10:33:55 +08:00
// implementation files('libs/tbs.jar')
2020-05-27 13:32:22 +08:00
implementation project(':cm_utils')
2020-05-28 19:45:35 +08:00
implementation project(':moduleplace')
implementation project(':moduleactivity')
implementation project(':modulecultural')
implementation files('libs/BaiduLBS_Android.jar')
2020-05-27 13:32:22 +08:00
implementation 'androidx.appcompat:appcompat:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation "androidx.multidex:multidex:2.0.1"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
annotationProcessor "com.alibaba:arouter-compiler:${rootProject.ext.gRouterCompileVersion}"
//角标
implementation 'q.rorbin:badgeview:1.1.3'
2020-07-21 13:17:29 +08:00
//流布局
implementation 'com.beloo.widget:ChipsLayoutManager:0.3.7@aar'
2020-05-27 13:32:22 +08:00
//Rxjava
implementation "io.reactivex.rxjava2:rxjava:${rootProject.ext.gRxJavaVersion}"
implementation "io.reactivex.rxjava2:rxandroid:${rootProject.ext.gRxAndroid}"
//RxJava
implementation "com.squareup.retrofit2:retrofit:${rootProject.ext.gRetrofitVersion}"
//Gson
implementation "com.google.code.gson:gson:${rootProject.ext.gGsonVersion}"
//butterknife
annotationProcessor "com.jakewharton:butterknife-compiler:${rootProject.ext.gButterKnifeVersion}"
//选择器
implementation "com.contrarywind:Android-PickerView:${rootProject.ext.pickerViewVersion}"
//gson
implementation "com.google.code.gson:gson:${rootProject.ext.supportGson}"
//glide
implementation "com.github.bumptech.glide:glide:${rootProject.ext.supportGlide}"
annotationProcessor "com.github.bumptech.glide:compiler:${rootProject.ext.supportGlide}"
//加载更多
implementation "com.jcodecraeer:xrecyclerview:${rootProject.ext.xRecyclerViewVersion}"
implementation "com.leon:lfilepickerlibrary:${rootProject.ext.lfilepickerlibraryVersion}"
//指示器
implementation "com.github.hackware1993:MagicIndicator:${rootProject.ext.mIndicatorVersion}"
implementation 'com.github.razerdp:BasePopup:2.2.1'
//图片压缩
implementation "top.zibin:Luban:$rootProject.ext.lubanVersio"
//动画
implementation "com.plattysoft.leonids:LeonidsLib:${rootProject.ext.leonidslibVersion}"
2020-05-28 19:45:35 +08:00
//banner
implementation "com.youth.banner:banner:${rootProject.ext.bannerVersion}"
2020-07-20 15:51:07 +08:00
//文件下载 1.7.7
2020-09-23 15:37:23 +08:00
// implementation "com.liulishuo.filedownloader:library:${rootProject.ext.downloadVersion}"
2020-07-20 15:51:07 +08:00
// PDF阅读器1 2.8.2
implementation "com.github.barteksc:android-pdf-viewer:${rootProject.ext.pdfVersion}"
2020-05-27 13:32:22 +08:00
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.3'
2020-05-28 19:45:35 +08:00
//骨架
implementation 'com.ethanhua:skeleton:1.1.2'
implementation 'io.supercharge:shimmerlayout:2.1.0'
2020-06-08 10:09:08 +08:00
//屏幕适配
implementation 'com.github.jarryleo:MagicScreenAdapter:v2.1'
implementation 'com.github.ittianyu:BottomNavigationViewEx:2.0.4'
// 基础依赖包,必须要依赖
implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
// fragment快速实现可选
implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0'
2020-07-14 17:22:58 +08:00
//分享
implementation 'cn.jiguang.sdk:jshare:1.8.0' // 此处以JShare 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
implementation 'cn.jiguang.sdk:jshare-qqmodel:1.8.0'
// 此处以jshare-qqmodel 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
implementation 'cn.jiguang.sdk:jshare-wechatmodel:1.8.0'
// 此处以jshare-wechatmodel 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
implementation 'cn.jiguang.sdk:jshare-sinamodel:1.8.0'
// 此处以jshare-sinamodel 1.6.0 版本为例具体版本请参考压缩包libs的jar包版本。
implementation 'cn.jiguang.sdk:jcore:1.2.3'
2020-05-27 13:32:22 +08:00
}