130 lines
5.0 KiB
Groovy
130 lines
5.0 KiB
Groovy
|
|
apply plugin: 'com.android.application'
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace 'com.ruilaizi.service'
|
||
|
|
compileSdk 34
|
||
|
|
compileSdkVersion 34
|
||
|
|
buildToolsVersion "30.0.2"
|
||
|
|
defaultConfig {
|
||
|
|
applicationId "com.ruilaizi.service"
|
||
|
|
minSdk 26
|
||
|
|
targetSdk 34
|
||
|
|
versionCode 101
|
||
|
|
versionName "1.0.1"
|
||
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
|
multiDexEnabled true //突破应用方法数65535的一个限制
|
||
|
|
}
|
||
|
|
signingConfigs {
|
||
|
|
release {
|
||
|
|
storeFile file('july.jks')
|
||
|
|
storePassword "july"
|
||
|
|
keyAlias "123456"
|
||
|
|
keyPassword "123456"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
signingConfigs {
|
||
|
|
release {
|
||
|
|
storeFile file('ruilaizi.jks')
|
||
|
|
storePassword "ruilaizi"
|
||
|
|
keyAlias "123456"
|
||
|
|
keyPassword "123456"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
buildTypes {
|
||
|
|
release {
|
||
|
|
minifyEnabled false
|
||
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
lintOptions {
|
||
|
|
checkReleaseBuilds false
|
||
|
|
abortOnError false
|
||
|
|
}
|
||
|
|
dataBinding{
|
||
|
|
enabled=true
|
||
|
|
}
|
||
|
|
|
||
|
|
compileOptions {
|
||
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
|
}
|
||
|
|
|
||
|
|
packagingOptions {
|
||
|
|
jniLibs {
|
||
|
|
useLegacyPackaging = true
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||
|
|
//noinspection GradleCompatible
|
||
|
|
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'
|
||
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
||
|
|
testImplementation 'junit:junit:4.12'
|
||
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
||
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
||
|
|
// implementation project(path: ':baselibs')
|
||
|
|
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'
|
||
|
|
implementation 'com.google.code.gson:gson:2.7'
|
||
|
|
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'
|
||
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
||
|
|
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.1.0'
|
||
|
|
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'
|
||
|
|
//引入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')
|
||
|
|
//三级联动选择
|
||
|
|
// implementation 'com.contrarywind:Android-PickerView:3.2.6'
|
||
|
|
implementation 'com.contrarywind:Android-PickerView:4.1.9'
|
||
|
|
implementation files('libs/fastjson-1.1.43.android.jar')
|
||
|
|
implementation 'org.jsoup:jsoup:1.10.1'
|
||
|
|
api 'com.amap.api:location:latest.integration'
|
||
|
|
// implementation project(':citypicker') // 已移除,避免 D8 编译问题
|
||
|
|
// 基础依赖包,必须要依赖
|
||
|
|
implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
|
||
|
|
implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0'
|
||
|
|
implementation('com.github.liuguangli:VerificationCodeInput:1.5')
|
||
|
|
implementation 'com.zhihu.android:matisse:0.5.3-beta3'
|
||
|
|
implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
|
||
|
|
implementation 'top.zibin:Luban:1.1.8'
|
||
|
|
//android 6.0权限处理
|
||
|
|
api 'pub.devrel:easypermissions:1.2.0'
|
||
|
|
implementation 'com.squareup.picasso:picasso:2.5.2'
|
||
|
|
implementation 'com.airbnb.android:lottie:3.4.0'
|
||
|
|
implementation 'com.github.paradoxie:AutoVerticalTextview:0.1'
|
||
|
|
implementation 'com.123ufo:BannerView:1.0'
|
||
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.2.6'
|
||
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.1.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.9.0'
|
||
|
|
implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'
|
||
|
|
|
||
|
|
}
|