Skip to content

Commit af83c5c

Browse files
authored
feat!: Update play services ads dependency (#244)
1 parent d1b1cef commit af83c5c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ Don't forget to replace `[APP_ID]` by your AdMob application Id.
7979

8080
This plugin will use the following project variables (defined in your app's `variables.gradle` file):
8181

82-
- `$playServicesAdsVersion` version of `com.google.android.gms:play-services-ads` (default: `21.1.0`)
82+
- `playServicesAdsVersion` version of `com.google.android.gms:play-services-ads` (default: `22.0.0`)
83+
- `androidxCoreKTXVersion`: version of `androidx.core:core-ktx` (default: `1.10.0`)
8384

8485
### iOS configuration
8586

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ext {
44
androidxCoordinatorLayoutVersion = project.hasProperty('androidxCoordinatorLayoutVersion') ? rootProject.ext.androidxCoordinatorLayoutVersion : '1.2.0'
55
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
66
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
7-
playServicesAdsVersion = project.hasProperty('playServicesAdsVersion') ? rootProject.ext.playServicesAdsVersion : '21.5.0'
8-
7+
playServicesAdsVersion = project.hasProperty('playServicesAdsVersion') ? rootProject.ext.playServicesAdsVersion : '22.0.0'
8+
androidxCoreKTXVersion = project.hasProperty('androidxCoreKTXVersion') ? rootProject.ext.androidxCoreKTXVersion : '1.10.0'
99
}
1010

1111
buildscript {
@@ -79,7 +79,7 @@ dependencies {
7979
implementation "com.google.android.gms:play-services-ads:$playServicesAdsVersion"
8080
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
8181
implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion"
82-
implementation "androidx.core:core-ktx:1.6.0"
82+
implementation "androidx.core:core-ktx:$androidxCoreKTXVersion"
8383
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
8484
}
8585

0 commit comments

Comments
 (0)