apply plugin: 'com.android.application' android { signingConfigs { debug { storeFile file('../hsh.jks') storePassword 'hsh123' keyAlias '海盛海维保' keyPassword 'hsh123' } release { storeFile file('../hsh.jks') storePassword 'hsh123' keyAlias '海盛海维保' keyPassword 'hsh123' } } compileSdkVersion 28 buildToolsVersion "28.0.3" defaultConfig { applicationId "com.all.maintenance" minSdkVersion 16 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true ndk { abiFilters 'armeabi' } manifestPlaceholders = [ JPUSH_PKGNAME: applicationId, JPUSH_APPKEY : "f34b0841ed238a48c7687a99", //JPush 上注册的包名对应的 Appkey. JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可. ] } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } allprojects { repositories { maven { url "https://jitpack.io" } jcenter() flatDir { dirs 'libs' } } } sourceSets { main { jniLibs.srcDirs = ['libs'] } debug.setRoot('build-types/debug') release.setRoot('build-types/release') } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' implementation 'com.google.code.gson:gson:2.8.5' //分包 implementation 'com.android.support:multidex:1.0.3' //注解框架 implementation 'com.jakewharton:butterknife:10.1.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' //刷新 implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-28' //网络请求 implementation 'com.lzy.net:okgo:2.1.4' //hawk implementation 'com.github.orhanobut:hawk:1.21' //loading implementation 'com.airbnb.android:lottie:2.6.0' //adapter implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.46' //权限申请 implementation 'com.mylhyl:acp:1.2.0' //图片加载 implementation 'com.github.bumptech.glide:glide:4.8.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' //仿微信拍照摄像 https://github.com/CJT2325/CameraView implementation 'cjt.library.wheel:camera:1.1.9' //图片视频选择器 implementation project(path: ':photolibrary') //视频 implementation project(path: ':nicevideoplayer') //极光推送 implementation 'cn.jiguang.sdk:jpush:3.1.7' implementation 'cn.jiguang.sdk:jcore:1.2.6' //高德地图 implementation 'com.amap.api:3dmap:latest.integration' //高德定位 implementation 'com.amap.api:location:latest.integration' //高德搜索 implementation 'com.amap.api:search:latest.integration' //鲁班压缩 implementation 'top.zibin:Luban:1.1.8' //曲线图 implementation 'com.github.PhilJay:MPAndroidChart:v3.0.0' //时间选择器 implementation 'com.contrarywind:Android-PickerView:4.1.6' }