Last active
August 7, 2020 16:23
-
-
Save magdamiu/917cd8165a4241253ec1c5ffa62adce1 to your computer and use it in GitHub Desktop.
Smile, it’s CameraX! [preview and capture] | step 1: gradle setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
def camerax = "1.0.0-beta07" | |
implementation "androidx.camera:camera-camera2:${camerax}" | |
implementation "androidx.camera:camera-lifecycle:${camerax}" | |
implementation 'androidx.camera:camera-view:1.0.0-alpha11' | |
implementation 'androidx.camera:camera-extensions:1.0.0-alpha11' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment