2020-08-14 15:12:29 +08:00
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
|
compileSdkVersion 28
|
2022-04-16 15:17:06 +08:00
|
|
|
|
buildToolsVersion "28.0.0"
|
2020-08-14 15:12:29 +08:00
|
|
|
|
defaultConfig {
|
2020-08-27 16:29:16 +08:00
|
|
|
|
applicationId "com.fenghoo.seven"
|
2020-08-14 16:49:32 +08:00
|
|
|
|
minSdkVersion 19
|
2020-08-14 15:12:29 +08:00
|
|
|
|
targetSdkVersion 28
|
|
|
|
|
|
versionCode 1
|
|
|
|
|
|
versionName "1.0"
|
2020-08-14 16:49:32 +08:00
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2020-08-20 18:24:29 +08:00
|
|
|
|
multiDexEnabled true //突破应用方法数65535的一个限制
|
2020-08-14 15:12:29 +08:00
|
|
|
|
}
|
2020-08-27 23:00:36 +08:00
|
|
|
|
signingConfigs {
|
|
|
|
|
|
release {
|
|
|
|
|
|
storeFile file('july.jks')
|
|
|
|
|
|
storePassword "july"
|
|
|
|
|
|
keyAlias "123456"
|
|
|
|
|
|
keyPassword "123456"
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2020-08-14 15:12:29 +08:00
|
|
|
|
buildTypes {
|
|
|
|
|
|
release {
|
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2020-08-27 23:00:36 +08:00
|
|
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
|
|
checkReleaseBuilds false
|
|
|
|
|
|
abortOnError false
|
|
|
|
|
|
}
|
2020-09-23 18:08:56 +08:00
|
|
|
|
dataBinding{
|
|
|
|
|
|
enabled=true
|
|
|
|
|
|
}
|
2020-08-27 23:00:36 +08:00
|
|
|
|
|
2020-08-14 15:12:29 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
|
|
//noinspection GradleCompatible
|
2020-08-14 16:49:32 +08:00
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
|
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2020-08-21 18:09:37 +08:00
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
2020-08-14 15:12:29 +08:00
|
|
|
|
testImplementation 'junit:junit:4.12'
|
2020-08-14 16:49:32 +08:00
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
2022-04-16 15:17:06 +08:00
|
|
|
|
// implementation project(path: ':baselibs')
|
2020-08-14 15:12:29 +08:00
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
|
|
|
|
|
|
// implementation 'com.squareup.okhttp3:okhttp:3.11.0'
|
|
|
|
|
|
// implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
|
2020-08-20 09:17:58 +08:00
|
|
|
|
implementation 'com.google.code.gson:gson:2.7'
|
2020-08-14 15:12:29 +08:00
|
|
|
|
implementation 'com.hannesdorfmann.mosby3:mvp:3.0.0-alpha4'
|
|
|
|
|
|
//RecyclerAdapter框架
|
|
|
|
|
|
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
|
|
|
|
|
|
implementation 'com.jcodecraeer:xrecyclerview:1.3.2'
|
2020-08-14 16:49:32 +08:00
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
2020-08-14 15:12:29 +08:00
|
|
|
|
implementation 'com.journeyapps:zxing-android-embedded:3.3.0'
|
|
|
|
|
|
//状态栏颜色
|
|
|
|
|
|
implementation 'com.readystatesoftware.systembartint:systembartint:1.0.4'
|
|
|
|
|
|
implementation 'io.reactivex:rxjava:1.0.14'
|
|
|
|
|
|
implementation 'io.reactivex:rxandroid:1.0.1'
|
|
|
|
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
|
|
|
|
|
|
implementation files('libs/wechat-sdk-android-without-mta-1.0.2.jar')
|
|
|
|
|
|
implementation files('libs/ShareSDK-Wechat-Core-2.8.3.jar')
|
|
|
|
|
|
implementation files('libs/tbs_sdk_thirdapp_v3.2.0.1104_43200_sharewithdownload_withfilereader_withoutGame_obfs_20170609_115346.jar')
|
|
|
|
|
|
//必须使用
|
|
|
|
|
|
implementation 'com.lzy.net:okgo:3.0.4'
|
|
|
|
|
|
implementation 'com.lzy.net:okrx2:2.0.2'
|
|
|
|
|
|
implementation 'com.lzy.net:okserver:2.0.5'
|
2020-08-17 17:56:42 +08:00
|
|
|
|
//引入ormlite
|
|
|
|
|
|
implementation 'com.j256.ormlite:ormlite-core:5.1'
|
|
|
|
|
|
implementation 'com.j256.ormlite:ormlite-android:5.1'
|
|
|
|
|
|
implementation files('libs/eventbus-2.4.0.jar')
|
2020-08-18 18:19:10 +08:00
|
|
|
|
//三级联动选择
|
2020-08-20 18:24:29 +08:00
|
|
|
|
// implementation 'com.contrarywind:Android-PickerView:3.2.6'
|
2020-08-20 09:17:58 +08:00
|
|
|
|
implementation 'com.contrarywind:Android-PickerView:4.1.9'
|
2020-08-20 18:24:29 +08:00
|
|
|
|
implementation files('libs/fastjson-1.1.43.android.jar')
|
2020-08-21 18:09:37 +08:00
|
|
|
|
implementation 'org.jsoup:jsoup:1.10.1'
|
|
|
|
|
|
api 'com.amap.api:location:latest.integration'
|
|
|
|
|
|
implementation project(':citypicker')
|
2020-08-25 14:33:48 +08:00
|
|
|
|
// 基础依赖包,必须要依赖
|
|
|
|
|
|
implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
|
|
|
|
|
|
// fragment快速实现(可选)
|
|
|
|
|
|
implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0'
|
2020-08-26 17:56:37 +08:00
|
|
|
|
implementation('com.github.liuguangli:VerificationCodeInput:1.5')
|
2020-08-27 22:02:00 +08:00
|
|
|
|
implementation 'com.zhihu.android:matisse:0.5.2-beta2'
|
|
|
|
|
|
implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
|
|
|
|
|
|
implementation 'top.zibin:Luban:1.1.7'
|
|
|
|
|
|
//android 6.0权限处理
|
|
|
|
|
|
api 'pub.devrel:easypermissions:1.2.0'
|
|
|
|
|
|
implementation 'com.squareup.picasso:picasso:2.5.2'
|
2020-09-02 17:48:29 +08:00
|
|
|
|
// api 'com.airbnb.android:lottie:1.0.1'
|
|
|
|
|
|
implementation 'com.airbnb.android:lottie:3.4.0'
|
2020-09-15 08:41:19 +08:00
|
|
|
|
implementation 'com.github.paradoxie:AutoVerticalTextview:0.1'
|
2022-04-16 15:17:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
implementation 'com.123ufo:BannerView:1.0'
|
|
|
|
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.1.5'
|
|
|
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
|
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
|
|
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
|
|
|
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.5.0'
|
|
|
|
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
|
|
|
|
|
|
implementation 'com.github.bumptech.glide:glide:4.7.1'
|
|
|
|
|
|
|
2020-08-14 15:12:29 +08:00
|
|
|
|
}
|