apply plugin: 'com.android.application' apply plugin: 'org.greenrobot.greendao' android { compileSdkVersion 28 defaultConfig { applicationId "com.bgy.autosale" minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0" consumerProguardFiles 'consumer-rules.pro' } signingConfigs { debug { keyAlias 'key0' keyPassword '00000000' storeFile file('../bgy.jks') storePassword '00000000' } release { keyAlias 'key0' keyPassword '00000000' storeFile file('../bgy.jks') storePassword '00000000' } } buildTypes { release { minifyEnabled true //Zipalign优化 zipAlignEnabled true // 移除无用的resource文件 shrinkResources true // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } greendao { schemaVersion 1 daoPackage 'com.exapmple.icecreamlite.greendao' } packagingOptions { exclude 'META-INF/io.netty.versions.properties' } } dependencies { // implementation 'com.github.bumptech.glide:glide:4.9.0' // implementation 'com.android.support:appcompat-v7:28.0.0' // implementation 'com.android.support:recyclerview-v7:28.0.0' // implementation 'com.android.support.constraint:constraint-layout:1.1.3' //rxjava // implementation 'io.reactivex.rxjava2:rxjava:2.2.2' // implementation 'io.reactivex.rxjava2:rxandroid:2.1.0' //网络 okhttp + gson解析 // implementation 'com.squareup.retrofit2:converter-gson:2.5.0' // implementation 'com.squareup.retrofit2:retrofit:2.5.0' // implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0' // implementation 'android.arch.work:work-runtime:1.0.1' //二维码 // implementation 'com.google.zxing:core:3.3.3' // api files('libs/zixing-core-3.2.0.jar') //bannerview 轮播图的 implementation 'com.youth.banner:banner:1.4.10' //数据库 // api 'org.greenrobot:greendao:3.2.2' // api 'org.greenrobot:greendao-generator:3.2.2' // implementation 'com.github.orhanobut:hawk:1.21' implementation project(path: ':module_offpay') implementation project(':module_offpay') implementation project(':BaseLibrary') implementation project(path: ':lm-library') }