gz_smz_android_app/app/build.gradle

120 lines
4.7 KiB
Groovy
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apply plugin: 'com.android.application'
android {
compileSdkVersion 30
//从 AGP 3.0 开始Google 已经不再要求手动指定 buildToolsVersion
//如果你不显式指定,它会自动选择合适的版本
// buildToolsVersion '30.0.0'
defaultConfig {
applicationId "org.easydarwin.easypusher"
minSdkVersion 21
targetSdkVersion 30
versionCode 25
versionName "25.0"
multiDexEnabled true
ndk {
abiFilters "armeabi","armeabi-v7a","arm64-v8a","mips"
}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = [moduleName: project.getName()]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation fileTree(dir: "libs", include: ['*.jar', '*.aar'])
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.appcompat:appcompat:1.2.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.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.1.0-beta01'
//app自动更新
implementation 'com.github.NewHuLe:AppUpdate:v1.7'
//XUI
implementation 'com.github.xuexiangjys:XUI:1.2.0'
implementation 'com.github.xuexiangjys.XPage:xpage-lib:3.0.3'
annotationProcessor 'com.github.xuexiangjys.XPage:xpage-compiler:3.0.3'
implementation 'com.github.bumptech.glide:glide:4.8.0'
//XUI页面路由
implementation 'com.github.xuexiangjys.XRouter:xrouter-runtime:1.0.1'
annotationProcessor 'com.github.xuexiangjys.XRouter:xrouter-compiler:1.0.1'
//XUI切片
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.0.5x'
implementation 'com.hjq:titlebar:5.0'
//XUI工具类
implementation 'com.github.xuexiangjys.XUtil:xutil-core:1.1.6'
implementation 'com.github.xuexiangjys.XUtil:xutil-sub:1.1.6'
//@BindView 代替findviewbyid方法。
implementation 'com.jakewharton:butterknife:10.2.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
//字体插件
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
//权限请求框架
implementation 'com.github.getActivity:XXPermissions:13.5'
//recyclerview
implementation 'androidx.recyclerview:recyclerview:1.1.0'
//sliding-root-nav
implementation 'com.yarolegovich:sliding-root-nav:1.1.0'
//ocr样式
implementation 'com.github.wenchaosong:OCR_identify:3.0.8'
//MNProgressHUD加载弹框
implementation 'com.github.maning0303:MNProgressHUD:V1.1.5'
// LeakCanary内存泄漏检测
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
//okhttp3
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
//cardview
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha03'
//io.reactivex
implementation 'io.reactivex.rxjava2:rxjava:2.2.6'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
// fastjson
implementation 'com.alibaba:fastjson:1.2.55'
//下拉刷新
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.0'
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.0'
//Android崩溃
implementation 'io.github.inflationx:calligraphy3:3.1.1'
implementation 'io.github.inflationx:viewpump:2.0.3'
//地图导航
implementation 'android.arch.lifecycle:extensions:1.1.1'
//SnackbarUtils
implementation 'com.github.mengpeng920223:SnackbarUtils:v1.0.0'
// Stetho core
implementation 'com.facebook.stetho:stetho:1.3.1'
//If you want to add a network helper
implementation 'com.facebook.stetho:stetho-okhttp3:1.3.1'
//悬浮按钮
implementation 'com.github.clans:fab:1.6.4'
//pdf预览
// implementation 'es.voghdev.pdfviewpager:library:1.0.3'
implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
//二维码
// implementation 'cn.yipianfengye.android:zxing-library:2.2'
implementation 'org.bouncycastle:bcprov-jdk15on:1.56'
}