From 11a316c137c57c7db8841342f8cc8c4ef83ef9b8 Mon Sep 17 00:00:00 2001 From: Igor dos Santos Amado Date: Sun, 25 Aug 2019 23:26:49 -0300 Subject: [PATCH] Updating gradle's arquives to newer versions of dependencies --- app/build.gradle | 25 ++++++++++++------------- build.gradle | 5 +++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 725fb1c8..ae87f7b8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,13 +1,12 @@ apply plugin: 'com.android.application' -apply plugin: 'android-apt' android { - compileSdkVersion 25 - buildToolsVersion "25.0.2" + compileSdkVersion 28 + buildToolsVersion "28.0.3" defaultConfig { applicationId "android.example.com.squawker" minSdkVersion 16 - targetSdkVersion 25 + targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -21,25 +20,25 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { + implementation fileTree(dir: 'libs', include: ['*.jar']) + androidTestImplementation('androidx.test.espresso:espresso-core:3.2.0', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:25.1.0' - testCompile 'junit:junit:4.12' + implementation 'androidx.appcompat:appcompat:1.0.2' + testImplementation 'junit:junit:4.12' // RecyclerView - compile 'com.android.support:recyclerview-v7:25.1.0' + implementation 'androidx.recyclerview:recyclerview:1.0.0' // Schematic dependencies for ContentProvider - apt 'net.simonvt.schematic:schematic-compiler:0.6.3' - compile 'net.simonvt.schematic:schematic:0.6.3' + annotationProcessor 'net.simonvt.schematic:schematic-compiler:0.7.0' + implementation 'net.simonvt.schematic:schematic:0.7.0' // Preferences Dependencies - compile 'com.android.support:preference-v7:25.1.0' + implementation 'androidx.preference:preference:1.0.0' // Firebase dependency - compile 'com.google.firebase:firebase-messaging:10.0.1' + implementation 'com.google.firebase:firebase-messaging:20.0.0' } // Apply the Google Services plugin. Make sure to add the google-services.json file in the app // folder. You download it from the Firebase console diff --git a/build.gradle b/build.gradle index 5ae0e993..87aa4f3b 100644 --- a/build.gradle +++ b/build.gradle @@ -2,11 +2,11 @@ buildscript { repositories { + google() jcenter() } dependencies { - classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2' - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:3.5.0' // Google Services plugin classpath 'com.google.gms:google-services:3.0.0' @@ -18,6 +18,7 @@ buildscript { allprojects { repositories { + google() jcenter() } }