26 lines
660 B
Groovy
26 lines
660 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'expo-module-gradle-plugin'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
|
|
android {
|
|
namespace "expo.modules.usbcamera"
|
|
compileSdkVersion findProperty("expo.compileSdkVersion") ?: 34
|
|
|
|
defaultConfig {
|
|
minSdkVersion 23 // libausbc requires min SDK 23
|
|
targetSdkVersion findProperty("expo.targetSdkVersion") ?: 34
|
|
versionCode 1
|
|
versionName "1.0.0"
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.facebook.react:react-android'
|
|
// AndroidUSBCamera library for USB/UVC Webcams
|
|
implementation 'com.github.jiangdongguo.AndroidUSBCamera:libausbc:3.3.3'
|
|
}
|