123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 28
- buildToolsVersion "29.0.2"
- defaultConfig {
- applicationId "com.baianxi.safemanager"
- minSdkVersion 21
- targetSdkVersion 28
- versionCode 2
- versionName "1.0.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- //////////////JPUSH start///////////////
- ndk {
- //选择要添加的对应 cpu 类型的 .so 库。
- abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', 'mips', 'mips64'
- // 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
- }
- manifestPlaceholders = [
- JPUSH_PKGNAME : applicationId,
- JPUSH_APPKEY : "6aba55e8e8dacb49a5290b6e", //JPush 上注册的包名对应的 Appkey.
- JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
- ]
- //////////////JPUSH end///////////////
- // multiDexEnabled true
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation 'com.google.android.material:material:1.2.0'
- implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
- implementation 'androidx.navigation:navigation-fragment:2.3.0'
- implementation 'androidx.navigation:navigation-ui:2.3.0'
- implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
- // testImplementation 'junit:junit:4.12'
- // androidTestImplementation 'androidx.test.ext:junit:1.1.0'
- // androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
- //万能适配器
- // implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
- // implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.47'
- implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.50'
- implementation 'org.greenrobot:eventbus:3.2.0'
- implementation 'com.google.zxing:core:3.3.3'
- implementation('com.journeyapps:zxing-android-embedded:3.6.0') { transitive = false }
- // implementation 'com.contrarywind:Android-PickerView:4.1.9'
- // // Retrofit+OKHttp
- // implementation 'com.squareup.retrofit2:retrofit:2.5.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
- // implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
- // implementation 'com.squareup.okhttp3:okhttp:4.8.0'
- implementation('com.squareup.okhttp3:okhttp:3.10.0')
- // implementation 'com.squareup.okhttp3:logging-interceptor:4.3.1'
- // /** Android和Java的内存泄漏检测库 **/
- // debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
- // releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
- //极光推送
- implementation 'cn.jiguang.sdk:jpush:3.6.7' // 此处以JPush 3.6.6 版本为例。
- implementation 'cn.jiguang.sdk:jcore:2.3.8' // 此处以JCore 2.3.8 版本为例。
- //fastjson
- implementation 'com.alibaba:fastjson:1.2.60'
- //图片加载
- implementation 'com.github.bumptech.glide:glide:4.11.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
- // // Glide图形转换工具
- implementation 'jp.wasabeef:glide-transformations:4.1.0'
- // // Glide
- // implementation 'com.github.bumptech.glide:glide:3.7.0'
- // // GPUImage
- // implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.3.0'
- // implementation 'com.github.bumptech.glide:glide:4.11.0'
- // annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
- //图片拍照
- implementation 'com.sl.utakephoto:uTakePhoto:1.1.0'
- //图片选择
- implementation 'com.zhihu.android:matisse:0.5.3-beta3'
- //图片预览
- implementation 'com.ycjiang:ImagePreview:2.3.5'
- //图片压缩
- implementation 'com.github.nanchen2251:CompressHelper:1.0.5'
- //多级选择框
- implementation 'com.contrarywind:Android-PickerView:4.1.9'
- //文件选择
- implementation 'com.leon:lfilepickerlibrary:1.8.0'
- // implementation 'com.ycjiang:imgepreviewlibrary:1.1.3'
- implementation 'com.facebook.stetho:stetho:1.5.1'
- //完整版引入视频播放库
- // implementation 'com.shuyu:GSYVideoPlayer:7.1.4'
- implementation 'com.shuyu:gsyVideoPlayer-java:7.1.4'
- // //是否需要ExoPlayer模式
- // implementation 'com.shuyu:GSYVideoPlayer-exo2:7.1.4'
- // //根据你的需求ijk模式的so
- // implementation 'com.shuyu:gsyVideoPlayer-armv5:7.1.4'
- implementation 'com.shuyu:gsyVideoPlayer-armv7a:7.1.4'
- implementation 'com.shuyu:gsyVideoPlayer-arm64:7.1.4'
- // implementation 'com.shuyu:gsyVideoPlayer-x64:7.1.4'
- // implementation 'com.shuyu:gsyVideoPlayer-x86:7.1.4'
- //视频录制
- implementation 'com.github.MingYueChunQiu:RecorderManager:0.2.29'
- //列表侧滑弹窗删除按钮
- implementation 'com.yanzhenjie.recyclerview:x:1.3.2'
- //下拉菜单
- implementation 'com.github.arcadefire:nice-spinner:1.4.4'
- }
|