apply plugin: 'com.android.application' //apply plugin: 'me.tatarka.retrolambda' android { signingConfigs { } compileSdkVersion 27 buildToolsVersion "27.0.3" defaultConfig { applicationId "com.tlin.jarod.tlin" minSdkVersion 16 targetSdkVersion 27 versionCode 7 versionName "1.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" ndk { abiFilters "armeabi", "armeabi-v7a", "x86", "mips" } //,"arm64-v8a","x86_64" multiDexEnabled true } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } dataBinding { enabled true } dexOptions { javaMaxHeapSize "2g" } signingConfigs { release { //签名文件路径,我是放到项目中了 storeFile file { "../dist/key.jks" } //签名密码 storePassword "123456" //别名 keyAlias "key" //别名密码 keyPassword "123456" } debug { //签名文件路径,我是放到项目中了 storeFile file { "../dist/key.jks" } //签名密码 storePassword "123456" //别名 keyAlias "key" //别名密码 keyPassword "123456" } } } 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.github.bumptech.glide:glide:3.7.0' compile project(':easeui') compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.android.support:appcompat-v7:26.+' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.squareup.okhttp3:okhttp:3.5.0' compile 'com.squareup.okhttp3:logging-interceptor:3.8.0' compile 'com.google.code.gson:gson:2.8.0' compile 'com.squareup.retrofit2:retrofit:2.3.0' compile 'cat.ereza:customactivityoncrash:1.5.0' compile 'com.squareup.retrofit2:converter-gson:2.3.0' compile 'com.squareup.retrofit2:converter-scalars:2.3.0' compile 'com.bigkoo:convenientbanner:2.0.5' compile 'liji.library.dev:citypickerview:0.7.0' compile 'com.android.support:recyclerview-v7:26.0.0-alpha1' compile 'com.yqritc:recyclerview-flexibledivider:1.4.0' compile 'com.zhy:base-rvadapter:3.0.3' compile 'com.apkfuns.jsbridge:jsbridge:2.1.1' compile 'com.amap.api:location:latest.integration' compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.8' compile 'com.lzy.widget:imagepicker:0.5.5' compile 'com.github.franmontiel:PersistentCookieJar:v1.0.1' compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar' // zxing compile 'com.google.zxing:core:3.3.0' // compile 'cn.bingoogolapple:bga-qrcodecore:1.1.9@aar' compile 'cn.bingoogolapple:bga-zxing:1.1.9@aar' testCompile 'junit:junit:4.12' compile project(':qrcodecore') compile 'com.tencent.bugly:crashreport:3.2.1' compile 'com.github.YinWeiLF:TBSViewer:v1.0.4' compile 'org.greenrobot:eventbus:3.0.0' }