34 lines
1008 B
Groovy
34 lines
1008 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'expo-module-gradle-plugin'
|
|
}
|
|
|
|
group = 'host.exp.exponent'
|
|
version = '17.0.10'
|
|
|
|
android {
|
|
namespace "expo.modules.camera"
|
|
defaultConfig {
|
|
versionCode 32
|
|
versionName "17.0.10"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
def camerax_version = "1.5.0-rc01"
|
|
|
|
api "androidx.exifinterface:exifinterface:1.4.1"
|
|
api "androidx.appcompat:appcompat:1.7.1"
|
|
|
|
implementation "androidx.camera:camera-core:${camerax_version}"
|
|
implementation "androidx.camera:camera-camera2:${camerax_version}"
|
|
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
|
|
implementation "androidx.camera:camera-video:${camerax_version}"
|
|
implementation "com.google.android.gms:play-services-code-scanner:16.1.0"
|
|
|
|
implementation "androidx.camera:camera-view:${camerax_version}"
|
|
implementation "androidx.camera:camera-extensions:${camerax_version}"
|
|
implementation "com.google.mlkit:barcode-scanning:17.3.0"
|
|
implementation "androidx.camera:camera-mlkit-vision:${camerax_version}"
|
|
}
|