Skip to content

Instantly share code, notes, and snippets.

@doomSDey
Last active July 24, 2020 14:27
Show Gist options
  • Save doomSDey/337176bc79f84520c9c4bef89780dc3e to your computer and use it in GitHub Desktop.
Save doomSDey/337176bc79f84520c9c4bef89780dc3e to your computer and use it in GitHub Desktop.
android{
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
// Add CameraX dependencies
implementation "androidx.camera:camera-core:1.0.0-beta05"
implementation "androidx.camera:camera-camera2:1.0.0-beta05"
implementation "androidx.camera:camera-lifecycle:1.0.0-beta05"
implementation "androidx.camera:camera-view:1.0.0-alpha12"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment