重构 使用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"
|
||||
|
||||
}
|
||||
compileOptions {
|
||||
@@ -35,10 +35,10 @@ repositories {
|
||||
}
|
||||
|
||||
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 'com.android.support:appcompat-v7:28.0.0'
|
||||
api 'androidx.appcompat:appcompat:1.0.2'
|
||||
api project(path: ':common')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user