封装二维码扫描业务
This commit is contained in:
@@ -115,6 +115,18 @@ dependencies {
|
||||
//kotlin反射
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.0"
|
||||
implementation "org.jetbrains.kotlin:kotlin-reflect:1.7.0"
|
||||
|
||||
implementation 'com.permissionx.guolindev:permissionx:1.4.0'
|
||||
def camerax_version = "1.1.0-alpha04"
|
||||
// The following line is optional, as the core library is included indirectly by camera-camera2
|
||||
implementation "androidx.camera:camera-core:${camerax_version}"
|
||||
implementation "androidx.camera:camera-camera2:${camerax_version}"
|
||||
// If you want to additionally use the CameraX Lifecycle library
|
||||
implementation "androidx.camera:camera-lifecycle:${camerax_version}"
|
||||
// If you want to additionally use the CameraX View class
|
||||
implementation "androidx.camera:camera-view:1.0.0-alpha24"
|
||||
|
||||
implementation 'com.google.mlkit:barcode-scanning:16.1.1'
|
||||
}
|
||||
//允许引用生成的代码
|
||||
kapt {
|
||||
|
||||
Reference in New Issue
Block a user