apply plugin: 'com.android.application' apply plugin: 'com.jakewharton.butterknife' android { compileSdkVersion 27 buildToolsVersion "27.0.3" defaultConfig { applicationId "com.wuxiaolong.androidmvpsample" minSdkVersion 14 targetSdkVersion 27 versionCode 1 } } ext { androidutilsVersion = '1.0.5' appcompatVersion = '27.1.0' butterknifeVersion = '8.4.0' retrofitVersion = '2.3.0' logginginterceptor = '3.9.1' rxjavaVersion = '2.1.11' rxandroidVersion = "2.0.2" } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation "com.wuxiaolong.androidutils:androidutils:$androidutilsVersion" implementation "com.android.support:appcompat-v7:$appcompatVersion" // //butterknife //noinspection GradleDependency implementation "com.jakewharton:butterknife:$butterknifeVersion" annotationProcessor "com.jakewharton:butterknife-compiler:$butterknifeVersion" 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" implementation "io.reactivex.rxjava2:rxandroid:$rxandroidVersion" implementation "io.reactivex.rxjava2:rxjava:$rxjavaVersion" }