apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "com.sunzee.cleanMachine" minSdkVersion 14 targetSdkVersion 27 versionCode 1 manifestPlaceholders = [ //个推应用参数,请填写您申请的 GETUI_APP_ID,GETUI_APP_KEY,GETUI_APP_SECRET 值 GETUI_APP_ID : "GKa6qa12heALjEXZlAn1U3", GETUI_APP_KEY : "89WV8dfjRg6RlxEchgmnS6", GETUI_APP_SECRET: "fLvPjR8hni7VFMkgjh8lx2" ] ndk { // 注意:这里需要添加项目所需 CPU 类型的最小集 abiFilters "armeabi", "armeabi-v7a", "x86_64", "x86" } } } ext { androidutilsVersion = '1.0.6' appcompatVersion = '27.1.0' 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" } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation "com.wuxiaolong.androidutils:androidutils:$androidutilsVersion" //noinspection GradleCompatible,GradleDependency implementation "com.android.support:appcompat-v7:$appcompatVersion" //黄油刀 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" 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" }