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'
6+ kotlinxCoroutinesVersion = project. hasProperty(' kotlinxCoroutinesVersion' ) ? rootProject. ext. kotlinxCoroutinesVersion : ' 1.10.2'
67}
78
89buildscript {
@@ -25,10 +26,10 @@ apply plugin: 'kotlin-android'
2526
2627android {
2728 namespace = " com.capacitorjs.barcodescanner"
28- compileSdk = project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 35
29+ compileSdk = project. hasProperty(' compileSdkVersion' ) ? rootProject. ext. compileSdkVersion : 36
2930 defaultConfig {
3031 minSdkVersion project. hasProperty(' minSdkVersion' ) ? rootProject. ext. minSdkVersion : 26
31- targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 35
32+ targetSdkVersion project. hasProperty(' targetSdkVersion' ) ? rootProject. ext. targetSdkVersion : 36
3233 versionCode 1
3334 versionName " 1.0"
3435 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -61,17 +62,17 @@ dependencies {
6162 implementation " io.ionic.libs:ionbarcode-android:2.0.1@aar"
6263 implementation project(' :capacitor-android' )
6364 implementation " androidx.appcompat:appcompat:$androidxAppCompatVersion "
64- implementation ' androidx.activity:activity-ktx:1.9.3 '
65- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3 '
66- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 '
67- implementation ' com.google.zxing:core:3.4.1 '
65+ implementation ' androidx.activity:activity-ktx:1.11.0 '
66+ implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:$k otlinxCoroutinesVersion "
67+ implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:$k otlinxCoroutinesVersion "
68+ implementation ' com.google.zxing:core:3.5.3 '
6869 implementation ' com.google.mlkit:barcode-scanning:17.3.0'
69- implementation ' androidx.camera:camera-camera2:1.4.0 '
70- implementation ' androidx.camera:camera-lifecycle:1.4.0 '
71- implementation ' androidx.camera:camera-view:1.4.0 '
72- implementation ' androidx.activity:activity-compose:1.9.3 '
73- implementation ' androidx.compose.material3:material3:1.3.1 '
74- implementation ' androidx.compose.material3:material3-window-size-class:1.3.1 '
70+ implementation ' androidx.camera:camera-camera2:1.5.1 '
71+ implementation ' androidx.camera:camera-lifecycle:1.5.1 '
72+ implementation ' androidx.camera:camera-view:1.5.1 '
73+ implementation ' androidx.activity:activity-compose:1.11.0 '
74+ implementation ' androidx.compose.material3:material3:1.4.0 '
75+ implementation ' androidx.compose.material3:material3-window-size-class:1.4.0 '
7576 testImplementation " junit:junit:$junitVersion "
7677 androidTestImplementation " androidx.test.ext:junit:$androidxJunitVersion "
7778 androidTestImplementation " androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion "
0 commit comments