22 junitVersion = project. hasProperty(' junitVersion' ) ? rootProject. ext. junitVersion : ' 4.13.2'
33 androidxAppCompatVersion = project. hasProperty(' androidxAppCompatVersion' ) ? rootProject. ext. androidxAppCompatVersion : ' 1.7.1'
44 androidxCoordinatorLayoutVersion = project. hasProperty(' androidxCoordinatorLayoutVersion' ) ? rootProject. ext. androidxCoordinatorLayoutVersion : ' 1.3.0'
5- androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.2.1 '
6- androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.6.1 '
5+ androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.3.0 '
6+ androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.7.0 '
77 playServicesAdsVersion = project. hasProperty(' playServicesAdsVersion' ) ? rootProject. ext. playServicesAdsVersion : ' 24.7.+'
88 userMessagingPlatformVersion = project. hasProperty(' userMessagingPlatformVersion' ) ? rootProject. ext. userMessagingPlatformVersion : ' 3.1.0'
99 androidxCoreKTXVersion = project. hasProperty(' androidxCoreKTXVersion' ) ? rootProject. ext. androidxCoreKTXVersion : ' 1.15.0'
1010}
1111
1212buildscript {
13- ext. kotlin_version = project. hasProperty(" kotlin_version" ) ? rootProject. ext. kotlin_version : ' 2.1 .20'
13+ ext. kotlin_version = project. hasProperty(" kotlin_version" ) ? rootProject. ext. kotlin_version : ' 2.2 .20'
1414 repositories {
1515 google()
1616 mavenCentral()
1717 }
1818 dependencies {
19- classpath ' com.android.tools.build:gradle:8.7.2 '
19+ classpath ' com.android.tools.build:gradle:8.13.0 '
2020 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
2121 }
2222}
@@ -25,11 +25,11 @@ apply plugin: 'com.android.library'
2525apply plugin : ' kotlin-android'
2626
2727android {
28- namespace " com.getcapacitor.community.admob.admob"
29- compileSdk project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 35
28+ namespace = " com.getcapacitor.community.admob.admob"
29+ compileSdk = project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 36
3030 defaultConfig {
31- minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 23
32- targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 35
31+ minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 24
32+ targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 36
3333 versionCode 1
3434 versionName " 1.0"
3535 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -41,7 +41,7 @@ android {
4141 }
4242 }
4343 lintOptions {
44- abortOnError false
44+ abortOnError = false
4545 }
4646 compileOptions {
4747 sourceCompatibility JavaVersion . VERSION_21
0 commit comments