11apply plugin : ' com.android.application'
2- apply plugin : ' android-apt '
2+ apply plugin : ' com.google.gms.google-services '
33
44android {
5- compileSdkVersion 25
6- buildToolsVersion " 25 .0.2 "
5+ compileSdkVersion 29
6+ buildToolsVersion " 29 .0.3 "
77 defaultConfig {
88 applicationId " android.example.com.squawker"
9- minSdkVersion 16
10- targetSdkVersion 25
9+ minSdkVersion 19
10+ targetSdkVersion 29
1111 versionCode 1
1212 versionName " 1.0"
1313 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
@@ -21,26 +21,21 @@ android {
2121}
2222
2323dependencies {
24- compile fileTree(dir : ' libs' , include : [' *.jar' ])
25- androidTestCompile(' com.android.support.test.espresso:espresso-core:2.2.2' , {
26- exclude group : ' com.android.support' , module : ' support-annotations'
27- })
28- compile ' com.android.support:appcompat-v7:25.1.0'
29- testCompile ' junit:junit:4.12'
30-
24+ implementation fileTree(dir : ' libs' , include : [' *.jar' ])
25+ implementation ' androidx.appcompat:appcompat:1.1.0'
26+ testImplementation ' junit:junit:4.13'
3127 // RecyclerView
32- compile ' com.android.support :recyclerview-v7:25 .1.0'
28+ implementation ' androidx.recyclerview :recyclerview:1 .1.0'
3329
3430 // Schematic dependencies for ContentProvider
35- apt ' net.simonvt.schematic:schematic-compiler:0.6.3'
36- compile ' net.simonvt.schematic:schematic:0.6.3'
31+ annotationProcessor ' net.simonvt.schematic:schematic-compiler:0.6.3'
32+ implementation ' net.simonvt.schematic:schematic:0.6.3'
3733
3834 // Preferences Dependencies
39- compile ' com.android.support:preference-v7:25.1.0'
35+ implementation " androidx.preference:preference:1.1.1"
36+ androidTestImplementation ' androidx.test.ext:junit:1.1.1'
37+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
4038
4139 // Firebase dependency
42- compile ' com.google.firebase:firebase-messaging:10.0.1 '
40+ implementation ' com.google.firebase:firebase-messaging:20.1.7 '
4341}
44- // Apply the Google Services plugin. Make sure to add the google-services.json file in the app
45- // folder. You download it from the Firebase console
46- apply plugin : ' com.google.gms.google-services'
0 commit comments