1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 28
- defaultConfig {
- applicationId "com.sunzee.cleanMachine"
- minSdkVersion 14
- targetSdkVersion 28
- versionCode 1
- manifestPlaceholders = [
- //个推应用参数,请填写您申请的 GETUI_APP_ID,GETUI_APP_KEY,GETUI_APP_SECRET 值
- GETUI_APP_ID : "n4vsaIAi0eAbAkfBfqsUL7",
- GETUI_APP_KEY : "iUQlj7YC4c5Zb7CSuwQTP4",
- GETUI_APP_SECRET: "fLvPjR8hni7VFMkgjh8lx2"
- ]
- ndk {
- // 注意:这里需要添加项目所需 CPU 类型的最小集
- abiFilters "armeabi", "armeabi-v7a", "x86"
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- }
- ext {
- androidutilsVersion = '1.0.6'
- appcompatVersion = '27.1.1'
- butterknifeVersion = '8.4.0'
- retrofitVersion = '2.3.0'
- logginginterceptor = '3.9.1'
- rxjavaVersion = '2.1.11'
- rxandroidVersion = "2.0.2"
- getuiversion = "2.13.1.0"
- designversion = "27.1.1"
- constraintlayoutversion = "1.1.3"
- eventbusversion = "3.2.0"
- filedownloader = '1.7.6'
- hawkVersion = '2.0.1'
- greendaoVersion='3.2.2'
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation "com.wuxiaolong.androidutils:androidutils:$androidutilsVersion"
- //noinspection GradleCompatible,GradleDependency
- implementation "com.android.support:appcompat-v7:$appcompatVersion"
- //黄油刀
- implementation 'com.android.support:appcompat-v7:28.0.0'
- implementation 'com.android.support.constraint:constraint-layout:1.1.3'
- annotationProcessor "com.jakewharton:butterknife-compiler:$butterknifeVersion"
- //retrofit2
- implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
- implementation "com.squareup.okhttp3:logging-interceptor:$logginginterceptor"
- implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
- implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
- //rxjava
- implementation "io.reactivex.rxjava2:rxandroid:$rxandroidVersion"
- implementation "io.reactivex.rxjava2:rxjava:$rxjavaVersion"
- //noinspection GradleCompatible
- implementation "com.android.support:design:$designversion"
- implementation "com.android.support.constraint:constraint-layout:$constraintlayoutversion"
- //请将此处的 ${version} 替换成您当前相应的 SDK 版本号,如 2.14.0.0
- implementation "com.getui:sdk:$getuiversion"
- implementation "org.greenrobot:eventbus:$eventbusversion"
- implementation project(':serialportlib')
- implementation project(path: ':serialport-api')
- implementation("com.github.bumptech.glide:glide:4.8.0") {
- exclude group: "com.android.support"
- }
- //noinspection GradleCompatible
- implementation "com.android.support:support-fragment:$appcompatVersion"
- implementation "com.orhanobut:hawk:$hawkVersion"
- implementation "com.liulishuo.filedownloader:library:$filedownloader"
- implementation "org.greenrobot:greendao:$greendaoVersion"
- }
|