11ext {
22 junitVersion = project. hasProperty(' junitVersion' ) ? rootProject. ext. junitVersion : ' 4.13.2'
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 '
3+ androidxAppCompatVersion = project. hasProperty(' androidxAppCompatVersion' ) ? rootProject. ext. androidxAppCompatVersion : ' 1.7.1 '
4+ androidxJunitVersion = project. hasProperty(' androidxJunitVersion' ) ? rootProject. ext. androidxJunitVersion : ' 1.3.0 '
5+ androidxEspressoCoreVersion = project. hasProperty(' androidxEspressoCoreVersion' ) ? rootProject. ext. androidxEspressoCoreVersion : ' 3.7.0 '
66}
77
88buildscript {
@@ -11,34 +11,34 @@ buildscript {
1111 mavenCentral()
1212 }
1313 dependencies {
14- classpath ' com.android.tools.build:gradle:8.7.2 '
14+ classpath ' com.android.tools.build:gradle:8.13.0 '
1515 }
1616}
1717
1818apply plugin : ' com.android.library'
1919
2020android {
21- namespace " com.getcapacitor.community.appicon"
22- compileSdkVersion project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 35
21+ namespace = " com.getcapacitor.community.appicon"
22+ compileSdk = project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 36
2323 defaultConfig {
24- minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 24
25- targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 35
26- versionCode 1
27- versionName " 1.0"
28- testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
24+ minSdkVersion = project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 24
25+ targetSdkVersion = project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 36
26+ versionCode = 1
27+ versionName = " 1.0"
28+ testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
2929 }
3030 buildTypes {
3131 release {
32- minifyEnabled false
32+ minifyEnabled = false
3333 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
3434 }
3535 }
36- lintOptions {
37- abortOnError false
36+ lint {
37+ abortOnError = false
3838 }
3939 compileOptions {
40- sourceCompatibility JavaVersion . VERSION_21
41- targetCompatibility JavaVersion . VERSION_21
40+ sourceCompatibility = JavaVersion . VERSION_21
41+ targetCompatibility = JavaVersion . VERSION_21
4242 }
4343}
4444
0 commit comments