plugins { id 'com.android.application' } android { compileSdkVersion 30 buildToolsVersion "30.0.3" signingConfigs { debug { storeFile file('dhhy-cargo-keys') storePassword 'dhhy123456p' keyAlias 'key0' keyPassword 'dhhy123456p' } config { keyAlias 'key0' keyPassword 'dhhy123456p' storeFile file('dhhy-cargo-keys') storePassword 'dhhy123456p' } release { keyAlias 'key0' keyPassword 'dhhy123456p' storeFile file('dhhy-cargo-keys') storePassword 'dhhy123456p' } } defaultConfig { applicationId "com.oneclouds.cargo" minSdkVersion 23 targetSdkVersion 30 versionCode 27 versionName "3.0.7" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { //设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so) abiFilters "armeabi-v7a", "arm64-v8a" } // javaCompileOptions { // // annotationProcessorOptions { // includeCompileClasspath = true // arguments = [ moduleName : project.getName() ] // } // } } allprojects { repositories { maven { url "https://jitpack.io" } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } android.applicationVariants.all { variant -> variant.outputs.all { def date = new Date().format("MMdd_HH-mm" , TimeZone.getTimeZone("GMT+08")) if(variant.buildType.name.equals('release')){ outputFileName = "dhhy-cargo-"+date+"-${versionName}.apk" } } } } dependencies { implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.1' implementation 'org.jetbrains:annotations:15.0' //implementation files('libs\\AMap2DMap_6.0.0_AMapSearch_7.9.0_20210331.jar') // implementation files('libs\\AMap_Location_V5.3.1_20210331.jar') //implementation files('libs\\Android_Lite3DMap_SDK_V1.2.0_20210412.jar') // implementation files('libs\\AMap2DMap_6.0.0_AMapSearch_7.9.0_20210331.jar') //implementation files('libs\\android-support-v4.jar') testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' //图片 implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'top.zibin:Luban:1.1.3' //okhttp implementation 'com.squareup.okhttp3:okhttp:3.2.0' //gson implementation 'com.google.code.gson:gson:2.8.5' //角标文字 implementation 'com.haozhang.libary:android-slanted-textview:1.2' //加载 implementation 'com.scwang.smart:refresh-layout-kernel:2.0.1' implementation 'com.scwang.smart:refresh-header-material:2.0.1' implementation 'com.scwang.smart:refresh-footer-ball:2.0.1' //球脉冲加载 implementation 'com.scwang.smart:refresh-footer-classics:2.0.1' //经典加载 implementation 'com.alibaba:fastjson:1.2.61' //弹框 // implementation 'com.lxj:xpopup:2.2.8' //更新版本 implementation 'com.github.jenly1314.AppUpdater:app-updater:1.1.0' implementation 'com.github.jenly1314.AppUpdater:app-dialog:1.1.0' //轮播插件 implementation 'com.github.zhpanvip:BannerViewPager:3.5.4' //选择器 //implementation 'com.github.gzu-liyujiang:AndroidPicker:Tag' implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelPicker:3.1.1' implementation 'com.github.gzu-liyujiang.AndroidPicker:AddressPicker:3.1.1' //EventBus implementation 'org.greenrobot:eventbus:3.1.1' implementation 'org.bouncycastle:bcprov-jdk15on:1.64' //工具类 implementation 'cn.hutool:hutool-all:5.7.11' //UI库 implementation 'com.github.tamsiree.RxTool:RxUI:2.6.2' //相机库 implementation 'com.github.tamsiree.RxTool:RxCamera:2.6.2' //功能库(Zxing扫描与生成二维码条形码) implementation 'com.github.tamsiree.RxTool:RxFeature:2.6.2' //ArcGis For Android工具库(API:100.1以上版本) implementation 'com.github.tamsiree.RxTool:RxArcGisKit:2.6.2' //友盟 // 下面各SDK根据宿主App是否使用相关业务按需引入。 // 友盟统计SDK implementation 'com.umeng.umsdk:common:9.4.2'// 必选 implementation 'com.umeng.umsdk:asms:1.4.1'// 必选 implementation 'com.umeng.umsdk:apm:1.4.2' // 错误分析升级为独立SDK,看crash数据请一定集成,可选 implementation 'com.umeng.umsdk:abtest:1.0.0'//使用U-App中ABTest能力,可选 //xui implementation 'com.github.xuexiangjys:XUI:1.1.8' implementation "io.reactivex.rxjava3:rxjava:3.1.4" implementation "io.reactivex.rxjava3:rxandroid:3.0.0" // implementation "com.squareup.retrofit2:adapter-rxjava3:2.9.0" implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.9' // implementation 'io.github.lucksiege:pictureselector:v3.0.9' implementation 'com.github.getActivity:XToast:8.2' implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6' implementation 'com.github.tbruyelle:rxpermissions:0.12' implementation 'com.amap.api:3dmap:8.0.0' implementation 'com.amap.api:location:5.4.0' implementation 'com.amap.api:search:7.9.0' }