From b6dce4a8b153954fec2d8e1cab2907c4299042f5 Mon Sep 17 00:00:00 2001 From: Jirawat Karanwittayakarn Date: Sun, 2 May 2021 21:37:05 +0700 Subject: [PATCH] Update dependencies --- app/build.gradle | 10 +++++----- build.gradle | 8 +++++--- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 741c77f..63bf443 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,11 +2,11 @@ apply plugin: 'com.android.application' android { compileSdkVersion compileAndTargetSdkVersion - buildToolsVersion '29.0.3' + buildToolsVersion '30.0.3' defaultConfig { applicationId "com.example.fcm" - minSdkVersion 23 + minSdkVersion 21 targetSdkVersion compileAndTargetSdkVersion versionCode 1 versionName "1.0" @@ -36,9 +36,9 @@ android { } dependencies { - implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'com.google.firebase:firebase-analytics:17.2.2' - implementation 'com.google.firebase:firebase-messaging:20.1.0' + implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'com.google.firebase:firebase-analytics:18.0.3' + implementation 'com.google.firebase:firebase-messaging:21.1.0' } apply plugin: 'com.google.gms.google-services' \ No newline at end of file diff --git a/build.gradle b/build.gradle index befdeac..b6f0611 100644 --- a/build.gradle +++ b/build.gradle @@ -2,10 +2,11 @@ buildscript { repositories { google() jcenter() + mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:3.5.3' - classpath 'com.google.gms:google-services:4.3.3' + classpath 'com.android.tools.build:gradle:4.1.3' + classpath 'com.google.gms:google-services:4.3.5' } } @@ -13,6 +14,7 @@ allprojects { repositories { google() jcenter() + mavenCentral() } } @@ -21,5 +23,5 @@ task clean(type: Delete) { } ext { - compileAndTargetSdkVersion = 29 + compileAndTargetSdkVersion = 30 } \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8f184b2..3dca5b9 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip