Skip to content

Commit b71392e

Browse files
Migrated to AndroidX
1 parent e718276 commit b71392e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

example/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ android {
3838
targetSdkVersion 28
3939
versionCode flutterVersionCode.toInteger()
4040
versionName flutterVersionName
41-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
41+
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
4242
}
4343

4444
buildTypes {
@@ -56,6 +56,6 @@ flutter {
5656

5757
dependencies {
5858
testImplementation 'junit:junit:4.12'
59-
androidTestImplementation 'com.android.support.test:runner:1.0.2'
60-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
59+
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
60+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
6161
}

example/android/gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
org.gradle.jvmargs=-Xmx1536M
22

33
android.enableR8=true
4+
android.useAndroidX=true
5+
android.enableJetifier=true

0 commit comments

Comments
 (0)