File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed
androidTest/java/com/stringcare/sample
main/java/com/stringcare/sample Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ android {
21
21
targetSdkVersion 29
22
22
versionCode 1
23
23
versionName " 1.0"
24
- testInstrumentationRunner " android.support. test.runner.AndroidJUnitRunner"
24
+ testInstrumentationRunner ' androidx. test.runner.AndroidJUnitRunner'
25
25
}
26
26
buildTypes {
27
27
release {
@@ -55,9 +55,9 @@ dependencies {
55
55
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
56
56
implementation" org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
57
57
implementation " com.stringcare:library:$stringcare_version "
58
- implementation ' com.android.support :appcompat-v7:28.0 .0'
59
- implementation ' com.android.support.constraint:constraint-layout :1.1.3'
58
+ implementation ' androidx.appcompat :appcompat:1.1 .0'
59
+ implementation ' androidx.constraintlayout:constraintlayout :1.1.3'
60
60
testImplementation ' junit:junit:4.12'
61
- androidTestImplementation ' com.android.support. test:runner :1.0.2 '
62
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
61
+ androidTestImplementation ' androidx. test.ext:junit :1.1.1 '
62
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.2.0 '
63
63
}
Original file line number Diff line number Diff line change 1
1
package com.stringcare.sample
2
2
3
- import android.support. test.InstrumentationRegistry
4
- import android.support. test.runner .AndroidJUnit4
3
+ import androidx. test.platform.app .InstrumentationRegistry
4
+ import androidx. test.ext.junit.runners .AndroidJUnit4
5
5
6
6
import org.junit.Test
7
7
import org.junit.runner.RunWith
Original file line number Diff line number Diff line change 1
1
package com.stringcare.sample
2
2
3
- import android.support.v7.app.AppCompatActivity
4
3
import android.os.Bundle
4
+ import androidx.appcompat.app.AppCompatActivity
5
5
import com.stringcare.library.*
6
6
import kotlinx.android.synthetic.main.activity_main.*
7
7
Original file line number Diff line number Diff line change @@ -13,3 +13,5 @@ org.gradle.jvmargs=-Xmx1536m
13
13
# org.gradle.parallel=true
14
14
# Kotlin code style for this project: "official" or "obsolete":
15
15
kotlin.code.style =official
16
+ android.useAndroidX =true
17
+ android.enableJetifier =true
You can’t perform that action at this time.
0 commit comments