apply plugin: 'com.android.application' android { compileSdkVersion 30 buildToolsVersion '30.0.0' defaultConfig { applicationId "org.easydarwin.easypusher" minSdkVersion 21 targetSdkVersion 30 versionCode 31 versionName "31" 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_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } 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.github.getActivity: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 'io.github.scwang90:refresh-layout-kernel:2.0.6' implementation 'io.github.scwang90:refresh-header-classics:2.0.6' implementation 'io.github.scwang90:refresh-footer-classics:2.0.6' //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 'es.voghdev.pdfviewpager:library:1.1.2' //二维码 // implementation 'cn.yipianfengye.android:zxing-library:2.2' //GSON implementation 'com.google.code.gson:gson:2.8.6' //geodesy implementation 'org.gavaghan:geodesy:1.1.3' //echarts implementation 'com.github.abel533:ECharts:3.0.0.2' //pdf implementation 'com.joanzapata.pdfview:android-pdfview:1.0.4@aar' //okhttputils // implementation 'com.lzy.net:okhttputils:1.6.5' implementation 'org.bouncycastle:bcprov-jdk15on:1.56' }