Skip to content

Commit 06e4b8b

Browse files
committed
use AndroidX.
1 parent 4d53255 commit 06e4b8b

3 files changed

Lines changed: 15 additions & 18 deletions

File tree

activitytaskview/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 28
5-
buildToolsVersion "26.0.3"
65
defaultConfig {
76
applicationId "cc.rome753.activitytask"
87
minSdkVersion 15
@@ -24,9 +23,9 @@ android {
2423

2524
dependencies {
2625
api fileTree(include: ['*.jar'], dir: 'libs')
27-
androidTestApi('com.android.support.test.espresso:espresso-core:2.2.2', {
28-
exclude group: 'com.android.support', module: 'support-annotations'
29-
})
30-
api 'com.android.support:appcompat-v7:28.0.0'
31-
testApi 'junit:junit:4.12'
26+
implementation 'androidx.appcompat:appcompat:1.1.0'
27+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
28+
testImplementation 'junit:junit:4.12'
29+
androidTestImplementation 'androidx.test:runner:1.2.0'
30+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3231
}

app/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 28
5-
buildToolsVersion "26.0.3"
65
defaultConfig {
76
applicationId "cc.rome753.activitytask.demo"
87
minSdkVersion 15
@@ -24,9 +23,9 @@ android {
2423

2524
dependencies {
2625
api fileTree(include: ['*.jar'], dir: 'libs')
27-
androidTestApi('com.android.support.test.espresso:espresso-core:2.2.2', {
28-
exclude group: 'com.android.support', module: 'support-annotations'
29-
})
30-
api 'com.android.support:appcompat-v7:28.0.0'
31-
testApi 'junit:junit:4.12'
26+
implementation 'androidx.appcompat:appcompat:1.1.0'
27+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
28+
testImplementation 'junit:junit:4.12'
29+
androidTestImplementation 'androidx.test:runner:1.2.0'
30+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3231
}

singleinstancedemo/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 28
5-
buildToolsVersion "26.0.3"
65
defaultConfig {
76
applicationId "cc.rome753.singleinstancedemo"
87
minSdkVersion 15
@@ -24,9 +23,9 @@ android {
2423

2524
dependencies {
2625
api fileTree(include: ['*.jar'], dir: 'libs')
27-
androidTestApi('com.android.support.test.espresso:espresso-core:2.2.2', {
28-
exclude group: 'com.android.support', module: 'support-annotations'
29-
})
30-
api 'com.android.support:appcompat-v7:28.0.0'
31-
testApi 'junit:junit:4.12'
26+
implementation 'androidx.appcompat:appcompat:1.1.0'
27+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
28+
testImplementation 'junit:junit:4.12'
29+
androidTestImplementation 'androidx.test:runner:1.2.0'
30+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3231
}

0 commit comments

Comments
 (0)