|
@@ -1,12 +1,12 @@
|
|
|
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
android {
|
|
|
- compileSdkVersion 26
|
|
|
|
|
- buildToolsVersion "26.0.3"
|
|
|
|
|
|
|
+ compileSdkVersion 27
|
|
|
|
|
+ buildToolsVersion "27.0.3"
|
|
|
defaultConfig {
|
|
defaultConfig {
|
|
|
applicationId "top.yinxueqin.readbook"
|
|
applicationId "top.yinxueqin.readbook"
|
|
|
minSdkVersion 21
|
|
minSdkVersion 21
|
|
|
- targetSdkVersion 26
|
|
|
|
|
|
|
+ targetSdkVersion 27
|
|
|
versionCode 1
|
|
versionCode 1
|
|
|
versionName "1.0"
|
|
versionName "1.0"
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
@@ -53,38 +53,38 @@ android {
|
|
|
|
|
|
|
|
dependencies {
|
|
dependencies {
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
- implementation 'com.android.support:appcompat-v7:26.1.0'
|
|
|
|
|
- implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
|
|
|
|
|
+ implementation 'com.android.support:appcompat-v7:27.1.1'
|
|
|
|
|
+ implementation 'com.android.support.constraint:constraint-layout:1.1.0'
|
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation 'junit:junit:4.12'
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.1'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.1'
|
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
|
|
|
- compile 'org.jsoup:jsoup:1.11.2'
|
|
|
|
|
- compile 'com.google.code.gson:gson:2.8.2'
|
|
|
|
|
- compile 'com.google.guava:guava:23.5-android'
|
|
|
|
|
- compile 'com.yanzhenjie:permission:1.1.2'
|
|
|
|
|
|
|
+ implementation 'org.jsoup:jsoup:1.11.2'
|
|
|
|
|
+ implementation 'com.google.code.gson:gson:2.8.2'
|
|
|
|
|
+ implementation 'com.google.guava:guava:23.5-android'
|
|
|
|
|
+ implementation 'com.yanzhenjie:permission:1.1.2'
|
|
|
|
|
|
|
|
// ViewModel and LiveData
|
|
// ViewModel and LiveData
|
|
|
- implementation "android.arch.lifecycle:extensions:1.1.0"
|
|
|
|
|
|
|
+ implementation "android.arch.lifecycle:extensions:1.1.1"
|
|
|
// alternatively, just ViewModel
|
|
// alternatively, just ViewModel
|
|
|
- implementation "android.arch.lifecycle:viewmodel:1.1.0"
|
|
|
|
|
|
|
+ implementation "android.arch.lifecycle:viewmodel:1.1.1"
|
|
|
// alternatively, just LiveData
|
|
// alternatively, just LiveData
|
|
|
- implementation "android.arch.lifecycle:livedata:1.1.0"
|
|
|
|
|
|
|
+ implementation "android.arch.lifecycle:livedata:1.1.1"
|
|
|
|
|
|
|
|
// Java8 support for Lifecycles
|
|
// Java8 support for Lifecycles
|
|
|
- implementation "android.arch.lifecycle:common-java8:1.1.0"
|
|
|
|
|
|
|
+ implementation "android.arch.lifecycle:common-java8:1.1.1"
|
|
|
|
|
|
|
|
// Room (use 1.1.0-alpha1 for latest alpha)
|
|
// Room (use 1.1.0-alpha1 for latest alpha)
|
|
|
implementation "android.arch.persistence.room:runtime:1.0.0"
|
|
implementation "android.arch.persistence.room:runtime:1.0.0"
|
|
|
annotationProcessor "android.arch.persistence.room:compiler:1.0.0"
|
|
annotationProcessor "android.arch.persistence.room:compiler:1.0.0"
|
|
|
|
|
|
|
|
// Paging
|
|
// Paging
|
|
|
- implementation "android.arch.paging:runtime:1.0.0-alpha5"
|
|
|
|
|
|
|
+ implementation "android.arch.paging:runtime:1.0.0-rc1"
|
|
|
|
|
|
|
|
// Test helpers for LiveData
|
|
// Test helpers for LiveData
|
|
|
- testImplementation "android.arch.core:core-testing:1.1.0"
|
|
|
|
|
|
|
+ testImplementation "android.arch.core:core-testing:1.1.1"
|
|
|
|
|
|
|
|
// Test helpers for Room
|
|
// Test helpers for Room
|
|
|
testImplementation "android.arch.persistence.room:testing:1.0.0"
|
|
testImplementation "android.arch.persistence.room:testing:1.0.0"
|
|
|
|
|
|
|
|
- compile 'com.jakewharton:disklrucache:2.0.2'
|
|
|
|
|
|
|
+ implementation 'com.jakewharton:disklrucache:2.0.2'
|
|
|
}
|
|
}
|