123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- apply plugin: 'com.android.application'
- apply plugin: 'org.greenrobot.greendao'
- apply plugin: 'com.mob.sdk'
- apply plugin: 'bugly'
- bugly {
- appId = '900010422'
- appKey = 'mnhwhy8jP7Fq2G6b'
- debug = true
- }
- android {
- signingConfigs {
- release {
- keyAlias 'KeyMac'
- keyPassword 'd1ev123'
- storeFile file('../keystore/KeyMacCDZ.jks')
- storePassword 'd1ev123'
- }
- }
- compileSdkVersion 26
- buildToolsVersion '28.0.3'
- aaptOptions.cruncherEnabled = false
- aaptOptions.useNewCruncher = false
- defaultConfig {
- applicationId "com.electric.chargingpile"
- minSdkVersion 19
- targetSdkVersion 26
- multiDexEnabled true
- ndk {
- abiFilters "armeabi"
- }
- }
- sourceSets.main {
- jniLibs.srcDirs 'src/main/libs'
- }
- lintOptions {
- checkReleaseBuilds false
- abortOnError false
- }
- greendao {
- schemaVersion 3
- daoPackage 'com.electric.chargingpile.gen'
- targetGenDir 'src/main/java'
- }
- buildTypes {
- debug {
-
- zipAlignEnabled true
-
-
- minifyEnabled true
-
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.release
- }
- release {
-
- zipAlignEnabled true
-
-
- minifyEnabled true
-
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.release
- }
- }
- dexOptions {
- javaMaxHeapSize "5120M"
- }
- repositories {
- mavenCentral()
- maven { url = 'https://dl.bintray.com/yuancloud/maven/' }
- maven { url "https://jitpack.io" }
- }
- packagingOptions {
- exclude 'META-INF/DEPENDENCIES.txt'
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/NOTICE.txt'
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/LICENSE'
- exclude 'META-INF/DEPENDENCIES'
- exclude 'META-INF/notice.txt'
- exclude 'META-INF/license.txt'
- exclude 'META-INF/dependencies.txt'
- exclude 'META-INF/LGPL2.1'
- }
- productFlavors {
- wandoujia {}
- baidu {}
- c360 {}
- yingyongbao {}
- xiaomi {}
- anzhi {}
- pp {}
- vivo {}
- huawei {}
- oppo {}
- meizu {}
- cdz {}
- sougou {}
- productFlavors.all { flavor ->
- flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name]
- }
- }
- }
- MobSDK {
- appKey "6f4323b7b4cc"
- appSecret "05e19cfda18d5fcbf779080b063f3707"
- ShareSDK {
- devInfo {
-
- 注意:开发者不能用我们这两个平台的appid,否则分享不了
- 微信测试的时候,微信测试需要先签名打包出apk,
- sample测试微信,要先签名打包,keystore在sample项目中,密码123456
- BypassApproval是绕过审核的标记,设置为true后AppId将被忽略,故不经过
- 审核的应用也可以执行分享,但是仅限于分享文字和图片,不能分享其他类型,
- 默认值为false。此外,微信收藏不支持此字段。wx4868b35061f87885
- <!--要分享微信小应用程序时用userName,path-->*/
- Wechat {
- id 1
- sortId 1
- appId "wx9ea0244164ac9fcf"
- appSecret "372a449f6371bd8f6dad1ed8ad70fa6b"
- bypassApproval false
- enable true
- }
- WechatMoments {
- id 2
- sortId 2
- appId "wx9ea0244164ac9fcf"
- appSecret "372a449f6371bd8f6dad1ed8ad70fa6b"
- bypassApproval false
- enable true
- }
- QQ {
- id 3
- sortId 3
- appId "1104205379"
- appKey "dX2eAJtMGUUzLYRM"
- shareByAppClient true
- bypassApproval false
- enable true
- }
- }
- }
- }
- dependencies {
- compile files('libs/mframework.jar')
- compile files('libs/picasso-2.5.2.jar')
- compile project(':autolayout')
- compile files('libs/universal-image-loader-1.9.1.jar')
- compile files('libs/bugly_1.2.9_release.jar')
-
- compile files('libs/jg_filter_sdk_1.1.jar')
- compile files('libs/wup-1.0.0.E-SNAPSHOT.jar')
- compile files('libs/pinyin4j-2.5.0.jar')
- compile files('libs/pinyin4android1.0.jar')
- compile files('libs/Msc.jar')
- compile files('libs/libammsdk.jar')
- compile files('libs/alipaySdk-20160427.jar')
- compile 'com.google.zxing:core:+'
- compile 'com.google.zxing:android-core:+'
- compile project(':library')
- compile files('libs/ZBarDecoder.jar')
- compile files('libs/jpush-android_v3.0.6.jar')
- compile files('libs/jcore-android_v1.1.3.jar')
- compile 'com.blankj:utilcode:1.9.8'
- compile project(':xrichtextt')
- compile 'com.android.support:multidex:1.0.1'
- compile 'com.umeng.analytics:analytics:latest.integration'
- compile 'com.google.code.gson:gson:2.2.4'
- compile 'com.squareup.okhttp:okhttp:2.0.0'
- compile 'com.zhy:okhttputils:2.4.1'
- compile 'com.android.support:support-v4:26.1.0'
- compile 'com.google.android.gms:play-services-appindexing:9.4.0'
- compile 'com.android.support.constraint:constraint-layout:1.0.2'
- compile 'com.zhy:flowlayout-lib:1.0.3'
- compile 'com.squareup:otto:+'
- compile 'org.greenrobot:greendao:3.2.0'
- compile 'org.greenrobot:greendao-generator:3.2.0'
- compile 'com.github.yuweiguocn:GreenDaoUpgradeHelper:v2.1.0'
- compile 'com.github.ksoichiro:android-observablescrollview:+'
- compile 'me.codeboy.android:align-text-view:2.3.0'
- compile 'me.itangqi.waveloadingview:library:0.3.5'
- compile 'com.yinglan.scrolllayout:scrolllayout:1.0.0'
- compile 'com.android.support:appcompat-v7:26.1.0'
- compile 'com.android.support:design:26.1.0'
- compile 'com.github.bumptech.glide:glide:4.1.1'
- compile 'me.iwf.photopicker:PhotoPicker:0.9.12@aar'
- compile 'top.zibin:Luban:1.1.2'
- compile 'com.ms-square:expandableTextView:0.1.4'
- compile 'io.reactivex:rxjava:1.1.0'
- compile 'io.reactivex:rxandroid:1.1.0'
- compile 'com.cjj.materialrefeshlayout:library:1.3.0'
- compile project(':zxing')
- compile 'com.alibaba:fastjson:1.1.64.android'
- compile 'pub.devrel:easypermissions:0.2.0'
- compile 'com.github.PhilJay:MPAndroidChart:v3.0.3'
- compile 'com.github.promeg:tinypinyin:1.0.0'
- compile 'org.greenrobot:eventbus:3.0.0'
-
- compile files('libs/AMap3DMap_6.5.0_AMapNavi_6.4.0_AMapSearch_6.5.0_AMapLocation_4.2.0_20181009.jar')
- compile 'com.qmuiteam:qmui:1.2.0'
- compile 'org.zackratos:ultimatebar:1.1.1'
- compile project(':XRefreshView')
- compile 'com.github.Aspsine:IRecyclerView:0.0.7'
- compile project(':ijkplayer-java')
- }
|