| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- apply plugin: 'com.android.application'
- apply plugin: 'com.jakewharton.butterknife'
- android {
- compileSdkVersion 27
- buildToolsVersion '27.0.2'
- defaultConfig {
- applicationId "com.sheep.jiuyan.samllsheep"
- minSdkVersion 18
- targetSdkVersion 27
- versionCode 101001
- versionName "1.1.1"
- multiDexEnabled true
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- ndk {
- abiFilters "armeabi-v7a", 'x86'//, 'armeabi-v7a', 'x86_64', 'arm64-v8a'
- }
- jackOptions {
- enabled true
- }
- multiDexEnabled true
- }
- compileOptions{
- sourceCompatibility org.gradle.api.JavaVersion.VERSION_1_8
- targetCompatibility org.gradle.api.JavaVersion.VERSION_1_8
- }
- signingConfigs {
- config {
- keyAlias 'sheep'
- keyPassword 'zhaoyi2004'
- storeFile file('.././sign.jks')
- storePassword 'zhaoyi2004'
- }
- }
- lintOptions {
- abortOnError false
- disable 'MissingTranslation'
- }
- dexOptions {
- preDexLibraries = false
- javaMaxHeapSize "4g"
- }
- packagingOptions {
- exclude 'META-INF/services/com.fasterxml.jackson.core.JsonFactory'
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.config
- }
- debug {
- signingConfig signingConfigs.config
- }
- }
- productFlavors.all { flavor ->
- flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: "${flavor.name}",
- DUANDUAN_GRAPH : "${flavor.name}",
- DUANDUAN_DATASHARE : "${flavor.name}",
- ]
- }
- productFlavors {
- bandaimitest {
- applicationId "com.sheep.jiuyan.samllsheep"
- manifestPlaceholders = [UMENG_CHANNEL_VALUE : "bandaimitest",
- DUANDUAN_GRAPH : "bandaimitest",
- DUANDUAN_DATASHARE : "bandaimitest",
- UMENG_APPKEY : "58edcfeb310c93091c000be2",
- JPUSH_PKGNAME : applicationId,
- JPUSH_APPKEY : "b8b5adf7d70d0c904d46d04c",
- JPUSH_CHANNEL : "developer-default"]
- buildConfigField "String", "DUANDUAN_DATASHARE", '"bandaimitest"'
- buildConfigField "String", "DUANDUAN_GRAPH", '"bandaimitest"'
- buildConfigField "boolean", "KF_DEBUG", 'true'
- // buildConfigField "String", "API_DOMAIN", '"10.8.210.229:8081"'
- // buildConfigField "String", "RN_DOMAIN", '"10.8.210.229:8070"'
- buildConfigField "String", "API_DOMAIN", '"test.bdmapp.kfzs.com"'
- // buildConfigField "String", "API_DOMAIN", '"10.8.210.229:8081"'
- buildConfigField "String", "JFSC_DOMAIN", '"http://10.8.210.190:8080/"'//积分商城
- buildConfigField "String", "CAPTCHA_DOMAIN", '"captcha.kuaifazs.com"'
- buildConfigField "String", "umeng_appkey", '"58dc9509aed17959a3001bff"'
- signingConfig signingConfigs.config
- }
- bandaimi {
- applicationId "com.sheep.jiuyan.samllsheep"
- // applicationId "com.kfzs.duanduan.bandaimi"
- manifestPlaceholders = [UMENG_CHANNEL_VALUE : "bandaimi",
- DUANDUAN_GRAPH : "bandaimi",
- DUANDUAN_DATASHARE : "bandaimi",
- UMENG_APPKEY : "58edcfeb310c93091c000be2",
- JPUSH_PKGNAME : applicationId,
- JPUSH_APPKEY : "b8b5adf7d70d0c904d46d04c",
- JPUSH_CHANNEL : "developer-default"]
- buildConfigField "String", "DUANDUAN_DATASHARE", '"bandaimi"'
- buildConfigField "String", "DUANDUAN_GRAPH", '"bandaimi"'
- buildConfigField "boolean", "KF_DEBUG", 'false'
- buildConfigField "String", "API_DOMAIN", '"app.bandai.yunduanzs.cn"'
- buildConfigField "String", "JFSC_DOMAIN", '"http://jf.bandaimi.com/"'//积分商城
- // buildConfigField "String", "API_DOMAIN", '"app.bdmoem.kfzs.com"'
- // buildConfigField "String", "JFSC_DOMAIN", '"http://jf.bdmoem.kfzs.com/"'//积分商城
- buildConfigField "String", "CAPTCHA_DOMAIN", '"captcha.kuaifazs.com"'
- buildConfigField "String", "umeng_appkey", '"58dc9509aed17959a3001bff"'
- signingConfig signingConfigs.config
- }
- }
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- google()
- }
- dependencies {
- // compile fileTree(include: ['*.jar'], dir: 'libs')
- // androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- // exclude group: 'com.android.support', module: 'support-annotations'
- // })
- compile 'com.android.support:appcompat-v7:27.0.2'
- compile 'com.android.support:support-v4:27.0.2'
- compile 'com.android.support:design:27.0.2'
- compile 'com.android.support.constraint:constraint-layout:1.0.2'
- testCompile 'junit:junit:4.12'
- // compile 'com.shark:screencapture:1.0.0'
- compile 'com.google.code.gson:gson:2.7'
- compile 'com.jcodecraeer:xrecyclerview:1.5.2'
- compile 'com.github.bumptech.glide:glide:3.7.0'
- compile 'com.squareup.okhttp3:okhttp:3.9.1'
- compile 'org.greenrobot:eventbus:3.1.1'
- compile 'com.zhy:base-adapter:3.0.3'
- compile 'com.liulishuo.filedownloader:library:1.6.9'
- compile 'com.tencent.bugly:crashreport_upgrade:latest.release'
- //其中latest.release指代最新版本号,也可以指定明确的版本号,例如1.2.0
- compile 'com.tencent.bugly:nativecrashreport:latest.release'
- //其中latest.release指代最
- compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+'
- debugCompile 'com.readystatesoftware.chuck:library:1.1.0'
- compile 'de.hdodenhof:circleimageview:2.2.0'
- releaseCompile 'com.readystatesoftware.chuck:library-no-op:1.1.0'
- compile 'org.xutils:xutils:3.5.0'
- compile 'com.mylhyl:acp:1.1.7'
- compile 'cn.yipianfengye.android:zxing-library:2.2'
- compile 'com.github.huburt-Hu:NewbieGuide:v1.2.0'
- compile 'com.android.support:multidex:1.0.1'
- compile(name: 'com.kfzs.safe', ext: 'aar')
- //butterknife
- compile 'com.jakewharton:butterknife:+'
- annotationProcessor 'com.jakewharton:butterknife-compiler:+'
- //dagger2
- // compile 'com.google.dagger:dagger:+'
- // compile 'com.google.dagger:dagger-compiler:+'
- provided 'org.glassfish:javax.annotation:+'
- compile 'com.google.dagger:dagger:2.12'
- annotationProcessor 'com.google.dagger:dagger-compiler:2.12'
- //retrofit
- compile 'com.squareup.retrofit2:retrofit:+'
- compile 'com.squareup.retrofit2:converter-gson:+'
- compile 'com.squareup.okhttp3:logging-interceptor:+'
- // compile 'com.squareup.retrofit2:adapter-rxjava2:+'
- compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
- //rxjava
- compile 'io.reactivex.rxjava2:rxandroid:+'
- compile 'io.reactivex.rxjava2:rxjava:+'
- //获取动态权限三方库
- compile 'pub.devrel:easypermissions:+'
- compile 'net.danlew:android.joda:2.9.3'
- compile 'com.orhanobut:logger:1.15'
- //友盟
- compile 'com.umeng.sdk:common:latest.integration'
- compile 'com.umeng.sdk:analytics:latest.integration'
- //fast json
- compile 'com.alibaba:fastjson:+'
- //添加半袋米相关
- // compile 'com.jakewharton:butterknife:8.1.0'
- // annotationProcessor 'com.jakewharton:butterknife-compiler:8.1.0'
- compile(name: 'appstoreutils', ext: 'aar')
- compile project(':view')
- // compile(name: 'view-release', ext: 'aar')
- //极光推送两个
- compile 'cn.jiguang.sdk:jpush:3.0.8'
- // 此处以JPush 3.0.3 版本为例。
- compile 'cn.jiguang.sdk:jcore:1.1.6'
- // 此处以JCore 1.1.1 版本为例。
- compile 'com.google.code.gson:gson:2.8.1'
- // compile 'com.android.support:design:24.2.0'
- compile 'com.flipboard:bottomsheet-core:1.5.3'
- compile 'com.flipboard:bottomsheet-commons:1.5.3'
- // compile 'org.greenrobot:greendao:3.2.0'
- compile 'com.google.protobuf:protobuf-java:3.2.0'
- compile 'com.umeng.analytics:analytics:6.0.9'
- compile(name: 'com.kfzs.safe', ext: 'aar')
- compile(name: 'FileDownloader-1.0.0', ext: 'aar')
- compile 'org.greenrobot:eventbus:3.0.0'
- compile 'com.yalantis:ucrop:2.2.0'
- // compile files('libs/SocialSDK_QQ_Simplify.jar')
- // compile files('libs/SocialSDK_Sina_Simplify.jar')
- // compile files('libs/SocialSDK_WeChat_Simplify.jar')
- // compile files('libs/umeng_shareboard_widget.jar')
- // compile files('libs/umeng_social_api.jar')
- // compile files('libs/umeng_social_net.jar')
- // compile files('libs/umeng_social_shareboard.jar')
- // compile files('libs/umeng_social_shareview.jar')
- // compile files('libs/umeng_social_tool.jar')
- compile files('libs/open_sdk_r5923_lite.jar')
- compile files('libs/wechat-sdk-android-with-mta-1.1.6.jar')
- compile files('libs/umeng_social_tool.jar')
- compile files('libs/umeng_social_shareboard.jar')
- compile files('libs/umeng_social_net.jar')
- compile files('libs/umeng_social_api.jar')
- compile files('libs/umeng_shareboard_widget.jar')
- compile files('libs/SocialSDK_WeiXin_Full.jar')
- compile files('libs/SocialSDK_QQ_Full.jar')
- compile 'com.zhy:okhttputils:2.6.2'
- compile files('libs/alipaySdk-20170922.jar')
- compile 'com.github.bumptech.glide:glide:3.5.2'
- compile 'jp.wasabeef:glide-transformations:2.0.2'
- compile 'com.nineoldandroids:library:2.4.0'
- compile 'cn.bingoogolapple:bga-banner:2.1.7@aar'
- compile 'mdl.sinlov.android:log:0.0.2'
- // compile 'com.kf.framework:kf-utils:latest.integration@aar'
- compile 'com.kf.framework:kf-utils:1.4.5@aar'
- // compile 'com.kf.framework:volleyplus:latest.integration@aar'
- compile 'com.kf.framework:volleyplus:1.4.5@aar'
- compile 'com.android.support:support-annotations:23.1.1'
- compile 'com.android.support:recyclerview-v7:27.1.0'
- compile 'io.reactivex:rxandroid:1.2.1'
- compile 'io.reactivex:rxjava:1.1.6'
- compile 'top.zibin:Luban:1.0.9'
- compile project(':datashare')
- compile files('libs/jackson-core-2.2.1.jar')
- compile files('libs/jackson-dataformat-xml-2.1.2.jar')
- }
|