Update dependencies

This commit is contained in:
Jirawat Karanwittayakarn 2021-05-02 21:37:05 +07:00
parent 2e25fd8c1d
commit b6dce4a8b1
3 changed files with 11 additions and 9 deletions

View File

@ -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'

View File

@ -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
}

View File

@ -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