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' , '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' } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.config } debug { signingConfig signingConfigs.config } } dexOptions { preDexLibraries false javaMaxHeapSize "4g" } } repositories { flatDir { dirs 'libs' } google() } dependencies { 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 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') }