mirror of
https://github.com/WuXiaolong/AndroidMVPSample.git
synced 2025-12-25 11:59:47 +08:00
1. rxjava1.0 -> rxjava2.0
2. png -> webp
This commit is contained in:
@@ -1,34 +1,44 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'com.jakewharton.butterknife'
|
||||
|
||||
android {
|
||||
compileSdkVersion 25
|
||||
buildToolsVersion "25.0.3"
|
||||
compileSdkVersion 27
|
||||
buildToolsVersion "27.0.3"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.wuxiaolong.androidmvpsample"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 22
|
||||
versionCode 20
|
||||
versionName "2.0"
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
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 {
|
||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||
compile 'com.android.support:appcompat-v7:25.3.1'
|
||||
compile 'com.wuxiaolong.androidutils:androidutils:1.0.5'
|
||||
compile 'com.jakewharton:butterknife:7.0.1'
|
||||
compile 'com.squareup.retrofit2:retrofit:2.0.2'
|
||||
compile 'com.squareup.okhttp3:logging-interceptor:3.1.2'
|
||||
compile 'com.squareup.retrofit2:converter-gson:2.0.2'
|
||||
compile 'com.squareup.retrofit2:adapter-rxjava:2.0.2'
|
||||
compile 'io.reactivex:rxandroid:1.1.0'
|
||||
compile 'io.reactivex:rxjava:1.1.0'
|
||||
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"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user