2018-04-13 15:41:45 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2019-04-28 01:25:23 +08:00
|
|
|
compileSdkVersion 28
|
2018-04-13 15:41:45 +08:00
|
|
|
defaultConfig {
|
2019-05-06 16:09:15 +08:00
|
|
|
//applicationId "com.yutou.jianrmg_v2"
|
|
|
|
applicationId "com.yutou.jianr_mg"
|
2018-05-08 16:55:17 +08:00
|
|
|
minSdkVersion 19
|
2019-04-28 01:25:23 +08:00
|
|
|
targetSdkVersion 28
|
2019-05-06 16:09:15 +08:00
|
|
|
versionCode 2
|
2019-06-12 11:40:44 +08:00
|
|
|
versionName "2.2"
|
2018-04-13 15:41:45 +08:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
2019-04-28 01:25:23 +08:00
|
|
|
ndk {
|
|
|
|
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
signingConfigs {
|
|
|
|
release {
|
|
|
|
storeFile file('D:\\AndroidKeys\\yutou.jks')
|
|
|
|
storePassword '34864394'
|
|
|
|
keyAlias 'yutou'
|
|
|
|
keyPassword '34864394'
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
storeFile file('D:\\AndroidKeys\\yutou.jks')
|
|
|
|
storePassword '34864394'
|
|
|
|
keyAlias 'yutou'
|
|
|
|
keyPassword '34864394'
|
|
|
|
}
|
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2019-04-28 01:25:23 +08:00
|
|
|
debug {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
targetCompatibility 1.8
|
|
|
|
sourceCompatibility 1.8
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
configurations.all {
|
|
|
|
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
|
|
|
|
def requested = details.requested
|
|
|
|
if (requested.group == 'com.android.support') {
|
|
|
|
if (!requested.name.startsWith("multidex")) {
|
|
|
|
details.useVersion '27.1.1'
|
|
|
|
}
|
|
|
|
}
|
2018-04-13 15:41:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//noinspection GradleCompatible
|
2019-04-28 01:25:23 +08:00
|
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
|
|
|
2018-06-15 16:13:28 +08:00
|
|
|
//implementation 'com.android.support:design:26.1.0'
|
2018-04-13 15:41:45 +08:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2018-06-15 16:13:28 +08:00
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//okhttp
|
2019-04-28 01:25:23 +08:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
|
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//FastJson
|
|
|
|
implementation 'com.alibaba:fastjson:1.2.41'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//轮播图
|
|
|
|
implementation 'com.bigkoo:convenientbanner:2.0.5'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//图片流缓存
|
|
|
|
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
|
2019-05-06 16:09:15 +08:00
|
|
|
|
2019-04-28 01:25:23 +08:00
|
|
|
//圆形图片
|
|
|
|
implementation 'com.github.siyamed:android-shape-imageview:0.9.3@aar'
|
2019-05-06 16:09:15 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//滑动Tabs
|
|
|
|
implementation 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
|
|
|
|
implementation 'com.ogaclejapan.smarttablayout:utils-v13:1.6.1@aar'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//MD 对话框
|
|
|
|
implementation 'me.drakeet.materialdialog:library:1.3.1'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//载入界面
|
|
|
|
implementation 'com.kaopiz:kprogresshud:1.1.0'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-06-15 16:13:28 +08:00
|
|
|
//文本编辑器
|
|
|
|
implementation 'com.github.louisgeek:ClassicLinesEditView:1.0.2'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//文件选择器
|
2018-06-15 16:13:28 +08:00
|
|
|
implementation 'com.leon:lfilepickerlibrary:1.8.0'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-06-15 16:13:28 +08:00
|
|
|
//富文本展示 #关注更新
|
|
|
|
implementation 'com.zzhoujay.richtext:richtext:3.0.7'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//底端对话框
|
|
|
|
implementation 'com.orhanobut:dialogplus:1.11@aar'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//二维码扫描
|
|
|
|
implementation 'com.dlazaro66.qrcodereaderview:qrcodereaderview:2.0.3'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//底端菜单
|
2019-04-28 01:25:23 +08:00
|
|
|
implementation 'me.majiajie:pager-bottom-tab-strip:2.3.0'
|
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//刷新载入
|
|
|
|
implementation project(path: ':RefreshRecyclerView')
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//图片形状
|
2018-06-15 16:13:28 +08:00
|
|
|
implementation 'com.github.siyamed:android-shape-imageview:0.9.3@aar'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-04-13 15:41:45 +08:00
|
|
|
//毛玻璃
|
|
|
|
implementation 'jp.wasabeef:glide-transformations:3.0.0'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
2018-05-08 16:55:17 +08:00
|
|
|
//图表
|
|
|
|
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
|
2018-04-13 15:41:45 +08:00
|
|
|
|
2019-04-28 01:25:23 +08:00
|
|
|
//Spinner
|
|
|
|
implementation 'com.github.arcadefire:nice-spinner:1.3.4'
|
2019-05-06 16:09:15 +08:00
|
|
|
|
2019-04-28 01:25:23 +08:00
|
|
|
//glide
|
|
|
|
implementation 'com.github.bumptech.glide:glide:4.9.0'
|
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
|
|
|
|
|
|
|
|
//友盟
|
2019-06-10 15:37:26 +08:00
|
|
|
implementation 'com.umeng.umsdk:analytics:8.0.0'
|
|
|
|
implementation 'com.umeng.umsdk:common:2.0.0'
|
2019-04-28 01:25:23 +08:00
|
|
|
|
|
|
|
//友盟推动
|
|
|
|
implementation 'com.umeng.umsdk:utdid:1.1.5.3'
|
|
|
|
implementation 'com.umeng.umsdk:push:5.0.2'
|
|
|
|
|
|
|
|
/* api project(path: ':BaseModel')
|
2019-05-06 16:09:15 +08:00
|
|
|
api project(path: ':GameDataModel')
|
|
|
|
api project(path: ':AppHome')
|
|
|
|
api project(path: ':MgListModel')
|
|
|
|
api project(path: ':ResModl')
|
|
|
|
api project(path: ':UserModel')*/
|
2019-04-28 01:25:23 +08:00
|
|
|
implementation files('libs/tbs_sdk_thirdapp_v3.6.0.1371_43624_sharewithdownload_withoutGame_obfs_20181106_121046.jar')
|
2019-06-10 15:37:26 +08:00
|
|
|
//七牛云
|
|
|
|
implementation 'com.qiniu:qiniu-android-sdk:7.3.15'
|
|
|
|
//zip4j
|
|
|
|
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '1.3.3'
|
2019-06-12 11:40:44 +08:00
|
|
|
//卡顿检测
|
|
|
|
// implementation 'com.github.markzhai:blockcanary-android:1.5.0'
|
2018-04-13 15:41:45 +08:00
|
|
|
}
|