Julian Steenbakker

bug: fix unstable camera2 dependency

@@ -24,7 +24,7 @@ apply plugin: 'com.android.library' @@ -24,7 +24,7 @@ apply plugin: 'com.android.library'
24 apply plugin: 'kotlin-android' 24 apply plugin: 'kotlin-android'
25 25
26 android { 26 android {
27 - compileSdkVersion 32 27 + compileSdkVersion 33
28 28
29 compileOptions { 29 compileOptions {
30 sourceCompatibility JavaVersion.VERSION_1_8 30 sourceCompatibility JavaVersion.VERSION_1_8
@@ -52,16 +52,6 @@ dependencies { @@ -52,16 +52,6 @@ dependencies {
52 // Use this dependency to use the dynamically downloaded model in Google Play Services 52 // Use this dependency to use the dynamically downloaded model in Google Play Services
53 // implementation 'com.google.android.gms:play-services-mlkit-barcode-scanning:18.0.0' 53 // implementation 'com.google.android.gms:play-services-mlkit-barcode-scanning:18.0.0'
54 54
55 - implementation "androidx.camera:camera-camera2:1.2.0-alpha04"  
56 - implementation 'androidx.camera:camera-lifecycle:1.2.0-alpha04'  
57 -  
58 -// // The following line is optional, as the core library is included indirectly by camera-camera2  
59 -// implementation "androidx.camera:camera-core:1.1.0-alpha11"  
60 -// implementation "androidx.camera:camera-camera2:1.1.0-alpha11"  
61 -// // If you want to additionally use the CameraX Lifecycle library  
62 -// implementation "androidx.camera:camera-lifecycle:1.1.0-alpha11"  
63 -// // If you want to additionally use the CameraX View class  
64 -// implementation "androidx.camera:camera-view:1.0.0-alpha31"  
65 -// // If you want to additionally use the CameraX Extensions library  
66 -// implementation "androidx.camera:camera-extensions:1.0.0-alpha31" 55 + implementation 'androidx.camera:camera-camera2:1.1.0'
  56 + implementation 'androidx.camera:camera-lifecycle:1.1.0'
67 } 57 }
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
26 apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 27
28 android { 28 android {
29 - compileSdkVersion 32 29 + compileSdkVersion 33
30 30
31 compileOptions { 31 compileOptions {
32 sourceCompatibility JavaVersion.VERSION_1_8 32 sourceCompatibility JavaVersion.VERSION_1_8
@@ -45,7 +45,7 @@ android { @@ -45,7 +45,7 @@ android {
45 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 45 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
46 applicationId "dev.steenbakker.mobile_scanner_example" 46 applicationId "dev.steenbakker.mobile_scanner_example"
47 minSdkVersion 21 47 minSdkVersion 21
48 - targetSdkVersion 32 48 + targetSdkVersion 33
49 versionCode flutterVersionCode.toInteger() 49 versionCode flutterVersionCode.toInteger()
50 versionName flutterVersionName 50 versionName flutterVersionName
51 } 51 }
1 -#Tue May 31 10:34:01 CEST 2022 1 +#Tue Aug 23 15:51:00 CEST 2022
2 distributionBase=GRADLE_USER_HOME 2 distributionBase=GRADLE_USER_HOME
3 -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip 3 +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
4 distributionPath=wrapper/dists 4 distributionPath=wrapper/dists
5 zipStorePath=wrapper/dists 5 zipStorePath=wrapper/dists
6 zipStoreBase=GRADLE_USER_HOME 6 zipStoreBase=GRADLE_USER_HOME