Created
September 15, 2019 15:00
-
-
Save moshimore/132915726d79c56d1d5c9d2e237d7d52 to your computer and use it in GitHub Desktop.
Android CameraX Sample
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
android { | |
compileSdkVersion 29 | |
defaultConfig { | |
minSdkVersion 21 | |
targetSdkVersion 29 | |
} | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation 'androidx.appcompat:appcompat:1.1.0' | |
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | |
def camerax_version = "1.0.0-alpha05" | |
implementation "androidx.camera:camera-core:${camerax_version}" | |
implementation "androidx.camera:camera-camera2:${camerax_version}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment