File tree 6 files changed +13
-11
lines changed
src/main/java/com/tobiasschuerg/sample
androidTest/java/com/tobiasschuerg/library
main/java/com/tobiasschuerg/prefixsuffix
6 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ android {
10
10
targetSdkVersion 28
11
11
versionCode 1
12
12
versionName " 1.0"
13
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
13
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
14
14
}
15
15
buildTypes {
16
16
release {
@@ -24,6 +24,6 @@ dependencies {
24
24
implementation project(' :library' )
25
25
26
26
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
27
- implementation ' com.android.support :appcompat-v7:28 .0.0 '
28
- implementation ' com.android.support.constraint:constraint-layout:1.1.3 '
27
+ implementation ' androidx.appcompat :appcompat:1 .0.2 '
28
+ implementation ' androidx.constraintlayout:constraintlayout:2.0.0-alpha2 '
29
29
}
Original file line number Diff line number Diff line change 1
1
package com.tobiasschuerg.sample
2
2
3
3
import android.os.Bundle
4
- import android.support.v7 .app.AppCompatActivity
4
+ import androidx.appcompat .app.AppCompatActivity
5
5
import kotlinx.android.synthetic.main.activity_main.*
6
6
7
7
class MainActivity : AppCompatActivity () {
Original file line number Diff line number Diff line change 6
6
# http://www.gradle.org/docs/current/userguide/build_environment.html
7
7
# Specifies the JVM arguments used for the daemon process.
8
8
# The setting is particularly useful for tweaking memory settings.
9
+ android.enableJetifier =true
10
+ android.useAndroidX =true
9
11
org.gradle.jvmargs =-Xmx1536m
10
12
# When configured, Gradle will run in incubating parallel mode.
11
13
# This option should only be used with decoupled projects. More details, visit
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ android {
13
13
versionCode 1
14
14
versionName " 1.0"
15
15
16
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
16
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
17
17
18
18
}
19
19
@@ -28,12 +28,12 @@ android {
28
28
29
29
dependencies {
30
30
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
31
- implementation ' com.android.support :appcompat-v7:28 .0.0 '
31
+ implementation ' androidx.appcompat :appcompat:1 .0.2 '
32
32
33
33
34
34
testImplementation ' junit:junit:4.12'
35
35
36
36
37
- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
38
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
37
+ androidTestImplementation ' androidx. test:runner:1.1.0 '
38
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.0 '
39
39
}
Original file line number Diff line number Diff line change 1
1
package com .tobiasschuerg .library ;
2
2
3
3
import android .content .Context ;
4
- import android . support .test .InstrumentationRegistry ;
5
- import android . support .test .runner .AndroidJUnit4 ;
4
+ import androidx .test .InstrumentationRegistry ;
5
+ import androidx .test .runner .AndroidJUnit4 ;
6
6
7
7
import org .junit .Test ;
8
8
import org .junit .runner .RunWith ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import android.graphics.Paint
6
6
import android.graphics.Rect
7
7
import android.graphics.Typeface
8
8
import android.os.Build
9
- import android.support.v7 .widget.AppCompatEditText
9
+ import androidx.appcompat .widget.AppCompatEditText
10
10
import android.text.TextPaint
11
11
import android.util.AttributeSet
12
12
You can’t perform that action at this time.
0 commit comments