Replace remote JCenter dependencies with local AAR binaries for usb-camera module
This commit is contained in:
@@ -22,11 +22,16 @@ repositories {
|
|||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
maven { url 'https://jcenter.bintray.com' }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.facebook.react:react-android'
|
implementation 'com.facebook.react:react-android'
|
||||||
// AndroidUSBCamera library for USB/UVC Webcams
|
// AndroidUSBCamera library for USB/UVC Webcams
|
||||||
implementation 'com.github.jiangdongguo.AndroidUSBCamera:libausbc:3.2.7'
|
implementation('com.github.jiangdongguo.AndroidUSBCamera:libausbc:3.2.7') {
|
||||||
|
exclude group: 'com.gyf.immersionbar', module: 'immersionbar'
|
||||||
|
exclude group: 'com.zlc.glide', module: 'webpdecoder'
|
||||||
|
}
|
||||||
|
// Local AAR dependencies downloaded to avoid JCenter resolution issues
|
||||||
|
implementation files('libs/immersionbar-3.0.0.aar')
|
||||||
|
implementation files('libs/webpdecoder-1.6.4.9.0.aar')
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user