11ext {
22 junitVersion = project. hasProperty(' junitVersion' ) ? rootProject. ext. junitVersion : ' 4.13.2'
3- androidxAppCompatVersion = project. hasProperty(' androidxAppCompatVersion' ) ? rootProject. ext. androidxAppCompatVersion : ' 1.6.1 '
4- androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.1.5 '
5- androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.5 .1'
3+ androidxAppCompatVersion = project. hasProperty(' androidxAppCompatVersion' ) ? rootProject. ext. androidxAppCompatVersion : ' 1.7.0 '
4+ androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.2.1 '
5+ androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.6 .1'
66}
77
88buildscript {
@@ -11,18 +11,18 @@ buildscript {
1111 mavenCentral()
1212 }
1313 dependencies {
14- classpath ' com.android.tools.build:gradle:8.2.1 '
14+ classpath ' com.android.tools.build:gradle:8.7.2 '
1515 }
16- }
16+ }
1717
1818apply plugin : ' com.android.library'
1919
2020android {
21- namespace " com.mycompany.plugins.example "
22- compileSdkVersion project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 34
21+ namespace " com.getcapacitor.community.appicon "
22+ compileSdkVersion project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 35
2323 defaultConfig {
24- minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 22
25- targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 34
24+ minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 23
25+ targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 35
2626 versionCode 1
2727 versionName " 1.0"
2828 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -37,8 +37,8 @@ android {
3737 abortOnError false
3838 }
3939 compileOptions {
40- sourceCompatibility JavaVersion . VERSION_17
41- targetCompatibility JavaVersion . VERSION_17
40+ sourceCompatibility JavaVersion . VERSION_21
41+ targetCompatibility JavaVersion . VERSION_21
4242 }
4343}
4444
0 commit comments