Aperture: Update CameraX libraries
https://github.com/luk1337/camerax_selfie/releases/tag/2888923280
Change-Id: I05ea70c534d2ae9b17c7129ecdd174bf7f96f91b
diff --git a/app/build.gradle b/app/build.gradle
index d0ef774..63169f4 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -34,27 +34,28 @@
dependencies {
implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.appcompat:appcompat:1.5.0'
+ implementation 'androidx.concurrent:concurrent-futures-ktx:1.1.0'
implementation 'com.google.android.material:material:1.7.0-beta01'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+ implementation 'androidx.exifinterface:exifinterface:1.3.3'
implementation 'androidx.lifecycle:lifecycle-viewmodel:2.5.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
implementation 'androidx.preference:preference:1.2.0'
// CameraX core library using the camera2 implementation
- def camerax_version = "1.2.0-alpha04"
// The following line is optional, as the core library is included indirectly by camera-camera2
- implementation "androidx.camera:camera-core:${camerax_version}"
- implementation "androidx.camera:camera-camera2:${camerax_version}"
+ implementation files('libs/camera-core-release.aar')
+ implementation files('libs/camera-camera2-release.aar')
// If you want to additionally use the CameraX Lifecycle library
- implementation "androidx.camera:camera-lifecycle:${camerax_version}"
+ implementation files('libs/camera-lifecycle-release.aar')
// If you want to additionally use the CameraX VideoCapture library
- implementation "androidx.camera:camera-video:${camerax_version}"
+ implementation files('libs/camera-video-release.aar')
// If you want to additionally use the CameraX View class
- implementation "androidx.camera:camera-view:${camerax_version}"
+ implementation files('libs/camera-view-release.aar')
// If you want to additionally add CameraX ML Kit Vision Integration
- implementation "androidx.camera:camera-mlkit-vision:${camerax_version}"
+ implementation files('libs/camera-mlkit-vision-release.aar')
// If you want to additionally use the CameraX Extensions library
- implementation "androidx.camera:camera-extensions:${camerax_version}"
+ implementation files('libs/camera-extensions-release.aar')
// ZXing
implementation 'com.google.zxing:core:3.5.0'
diff --git a/app/libs/camera-camera2-release.aar b/app/libs/camera-camera2-release.aar
new file mode 100644
index 0000000..898226a
--- /dev/null
+++ b/app/libs/camera-camera2-release.aar
Binary files differ
diff --git a/app/libs/camera-core-release.aar b/app/libs/camera-core-release.aar
new file mode 100644
index 0000000..eb3388f
--- /dev/null
+++ b/app/libs/camera-core-release.aar
Binary files differ
diff --git a/app/libs/camera-extensions-release.aar b/app/libs/camera-extensions-release.aar
new file mode 100644
index 0000000..82ccf7d
--- /dev/null
+++ b/app/libs/camera-extensions-release.aar
Binary files differ
diff --git a/app/libs/camera-lifecycle-release.aar b/app/libs/camera-lifecycle-release.aar
new file mode 100644
index 0000000..64a3363
--- /dev/null
+++ b/app/libs/camera-lifecycle-release.aar
Binary files differ
diff --git a/app/libs/camera-mlkit-vision-release.aar b/app/libs/camera-mlkit-vision-release.aar
new file mode 100644
index 0000000..bdc97b2
--- /dev/null
+++ b/app/libs/camera-mlkit-vision-release.aar
Binary files differ
diff --git a/app/libs/camera-video-release.aar b/app/libs/camera-video-release.aar
new file mode 100644
index 0000000..619de33
--- /dev/null
+++ b/app/libs/camera-video-release.aar
Binary files differ
diff --git a/app/libs/camera-view-release.aar b/app/libs/camera-view-release.aar
new file mode 100644
index 0000000..47fdb16
--- /dev/null
+++ b/app/libs/camera-view-release.aar
Binary files differ