Showing
6 changed files
with
11 additions
and
6 deletions
@@ -16,6 +16,6 @@ | @@ -16,6 +16,6 @@ | ||
16 | 16 | ||
17 | package net.nfet.flutter.printing; | 17 | package net.nfet.flutter.printing; |
18 | 18 | ||
19 | -import android.support.v4.content.FileProvider; | 19 | +import androidx.core.content.FileProvider; |
20 | 20 | ||
21 | public class PrintFileProvider extends FileProvider {} | 21 | public class PrintFileProvider extends FileProvider {} |
@@ -32,7 +32,7 @@ import android.print.PrintDocumentAdapter; | @@ -32,7 +32,7 @@ import android.print.PrintDocumentAdapter; | ||
32 | import android.print.PrintDocumentInfo; | 32 | import android.print.PrintDocumentInfo; |
33 | import android.print.PrintManager; | 33 | import android.print.PrintManager; |
34 | import android.print.pdf.PrintedPdfDocument; | 34 | import android.print.pdf.PrintedPdfDocument; |
35 | -import android.support.v4.content.FileProvider; | 35 | +import androidx.core.content.FileProvider; |
36 | 36 | ||
37 | import java.io.File; | 37 | import java.io.File; |
38 | import java.io.FileOutputStream; | 38 | import java.io.FileOutputStream; |
@@ -38,7 +38,7 @@ android { | @@ -38,7 +38,7 @@ android { | ||
38 | targetSdkVersion 28 | 38 | targetSdkVersion 28 |
39 | versionCode flutterVersionCode.toInteger() | 39 | versionCode flutterVersionCode.toInteger() |
40 | versionName flutterVersionName | 40 | versionName flutterVersionName |
41 | - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | 41 | + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
42 | } | 42 | } |
43 | 43 | ||
44 | buildTypes { | 44 | buildTypes { |
@@ -56,6 +56,6 @@ flutter { | @@ -56,6 +56,6 @@ flutter { | ||
56 | 56 | ||
57 | dependencies { | 57 | dependencies { |
58 | testImplementation 'junit:junit:4.12' | 58 | 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:runner:1.1.1' |
60 | + androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' | ||
61 | } | 61 | } |
-
Please register or login to post a comment