1
0
mirror of https://github.com/WuXiaolong/AndroidMVPSample.git synced 2025-06-07 22:04:04 +08:00
AndroidMVPSample/app/build.gradle
pdog 4aa23833a6 1. rxjava1.0 -> rxjava2.0
2. png -> webp
2018-03-23 11:17:15 +08:00

45 lines
1.4 KiB
Groovy

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"
}