重构 使用AndroidX代替android.support库
This commit is contained in:
@@ -12,7 +12,7 @@ android {
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
}
|
||||
|
||||
@@ -25,11 +25,11 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||||
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.1-alpha01', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
testImplementation 'junit:junit:4.12'
|
||||
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
api 'com.android.support:support-annotations:28.0.0'
|
||||
api 'androidx.annotation:annotation:1.0.0'
|
||||
api 'com.github.hyb1996:settingscompat:1.1.5'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user